UNIX OVERVIEW



FILE SYSTEM



LISTING DIRECTORIES and PATHNAMES



HOME DIRECTORY and CURRENT WORKING DIRECTORY



COMMANDS



SOME USEFUL COMMANDS

cat [ file1 file2 ... ]
displays the named files on the screen one after the other without stopping


more filename
displays the named file on the screen, one screenful at a time. (Hit space to see next screenful.)


date
outputs current date and time


fmt [ filename ]
formats an ASCII text file so that lines are close to but no longer than 72 characters.


wc [ filename ]
outputs line count, word count and character count in the provided input.


I/O REDIRECTIONS



VARIATIONS OF THE LS COMMAND

ls -l [ DirectoryName ]
produces a long listing of names of files in the specified directory. The info includes owner, file size, date/time of last change, access permissions.


ls -R [ DirectoryName ]
produces a recursive listing of specified directory and all its subdirectories.


ls -F [ DirectoryName ]
adds an extra character after filenames to show special characteristics. A slash indicates a directory, an asterisk shows a file with execute permissions set.