thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Wed Aug 03, 2005 8:48 pm Post subject: list directory contents |
|
|
ls - To list the contents of a directory
Usage: ls [flags] directory
Example: ls (To list the current directory)
Example: ls /home/joey (To list the contents of /home/joey)
Example: ls -a (To list hidden files)
Example: ls -l (To list file/directory permissions and file sizes)
Example: ls -al /home/joey (To list all files and permissions in /home/joey)
For more information, in a terminal, type man ls |
|