Operating System Tutorial
Chapter 3, Directories and files

Summary

Summary

 To see what directory you are in    pwd (print working directory)
 To change directories               cd pathname 
 To go to your home directory        cd 
                                     cd $HOME 
 To list files                       ls 
 To list files in columns            lc 
 To list files and show type         lf 
 To list all files, even hidden      ls -a 
 ones
 To make a long listing of all       l m or ls -l m 
 files beginning with ``m''
 ---------------------------------------------------------------------
 For more information about          See
 ---------------------------------------------------------------------
 pwd, cd, and the ls family of       pwd(C) cd(C) and ls(C) 
 commands