Quick List of Unix Commands


Determining Current Directory

Type pwd at the unix prompt to find out where you are in the directory tree.


Listing Subdirectories

Type ls at the prompt for a list of subdirectories of your current directory. For more information about these directories, try ls -al


Changing Directories

Type cd new_directory to change to a sub directory or cd .. to go up a level to the parent directory


Creating a new Directory

Type mkdir new_directory_name to create a subdirectory of your current directory.


Copying Files

Type cp file_name destination to copy a file to the destination directory. A * in place of a file name will copy all files in the specified directory and a . indicates the current directory. Example cp -R ./samples /home/usr_name/cadence would copy all of the cadence setup files and libraries into a directory called samples of the cadence subdirectory of usr_name