A basic overview furnished by SAS Institute can be obtained by typing 'man sas'.
You may wish to work from a "personal subdirectory", which means you would routinely "cd" to a subdirectory other than your home directory. SAS, however, can be invoked from any subdirectory. The examples below will assume that files are stored and/or written to the current subdirectory (i.e., the directory from which you invoked SAS). (Files that are not stored in the current subdirectory may be used, and may be specified using the ~/ convention to stand for your home directory.)