Linux ls command
The ls command is used to list files and directories in the filesystem. Login to your Linux system and open shell.
Syntax
Examples
Now type ls and press enter. This will show file names available in the current directory.
Long Listing Files
You can use -l switch to view the long listing of files.
You can also specify the filename to get details for a specific file.
List Hidden Files
You can also use the -a switch with ls command to show hidden files as well.
Show Human Readable File Size
Use -h switch to show the file size in a human-readable format. For example 10K, 12M, 2G
0 Comments
CAN FEEDBACK
Emoji