Some Useful Linux Commands

Command What it stands for What it does To check your work
pwd print working directory displays the name of your current directory
ls -l list (long form) displays contents of your current directory
ls -ldlist (long form, directory)displays information about your current directory
mkdir dirName make directory creates a new directory dirName ls -l
cd dirName change directory moves you to directory dirName pwd
cp sourceFile targetFile copy makes a copy of sourceFile, called targetFile ls -l
mv sourceFile targetFile move renames sourceFile to targetFile ls -l
chmod XXX fileName change mode

Janet Davis (davisj@whitman.edu) with thanks to Marge M. Coahran

Created January 21, 2016
Last revised January 21, 2016, 05:17:41 PM PST
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.