ls -r command in Linux
ls -r option lists all files and directories in the current directory in reverse order....
ls -l command in Linux
ls -l option lists all files and directories in the current directory in long listing format....
How to display full path/absolute path with ls command
linux ls full path, you can use the ls -d option combined with the environment variable $PWD. syntax: ls -d $PWD/*...
list directory with ls command in linux/unix
In linux, with the ls command -d option, you can only list the directories of the current directory, not recursively....
What command is linux ll?
Linux ll is not a command provided by the linux system. It is usually the command alias we set. Generally, the ls -l command is...
Sort files or folders by size with ls command in linux/unix
The Linux ls -S option can be sorted by size from largest to smallest, or the ls -rS option can be sorted by size from...
How to display the file size in megabytes with ls in linux/unix
Display the file size in megabytes, which can facilitate us to browse the file storage size. Syntax: ls -lh , to display the file size...
How to list hidden files and folders in linux/unix
In linux/unix, when it comes to listing files and folders, everyone will think of the ls command. Yes, there are many options for the ls...
List directories recursively in linux/unix
Recursive listing of directories can help us begin to understand the current directory structure. In linux/unix, we can use any of the following commands to...
The difference between ls, ls -a, ls -A, ls -l, ls -al, ls -lrt
ls -a : display all files and subdirectories in the current directory, including hidden "." And ".." etc; ls -l : display...
linux view apache logs
In Linux, apache logs (error logs and access logs) provide useful information for system administrators to solve and locate problems....
Linux log view using linux command line
Linux log view using linux command line, tail -f: added log content for real-time monitoring, cat: view all log content, more: view log content by...
ls command tutorial in linux/unix with examples and use cases
linux ls command – list directory contents Linux ls command is the most commonly used command in our daily use of linux. ls can not...
grep command tutorial in linux/unix with examples and use cases
linux grep command – print lines that match patterns Linux grep searches for PATTERNS in each FILE. PATTERNS is one or patterns separated by newline...
tee command tutorial in linux/unix with examples and use cases
linux tee command - read from standard input and write to standard output and files. Copy standard input to each FILE, and also to standard...