COMMAND OPTION ARGUMENT(S)
emacs commands
pwd (print working directory)
pwd gives you the location of your current
directory
pwd
ls (list)
ls shows everything that is in a directory
ls DIRECTORY
cd (change directory)
cd moves you to another directory
cd DIRECTORY
cd without an argument
it takes you to your home directory
cd ..
mv (move)
mv moves a file or directory
from one place to another
mv FILE_OR_DIRECTORY_NAME NEW_DIRECTORY
mv to rename a file or
directory
mv FILE_OR_DIRECTORY_NAME NEW_FILE_OR_DIRECTORY_NAME
cp (copy)
cp makes a new copy of a file
cp ORIGINAL_FILENAME NEW_FILENAME
cp ORIGINAL_FILENAME DIRECTORY
cp
with the -r (for recursive) option
cat (concatenate)
cat prints the contents of a file
cat FILENAME
rm remove
rm deletes a filerm *
mkdir (make dirrectory)
mkdir creates a directory
mkdir DIRECTORY_NAME
rmdir (remove directory )
rmdir deletes a directory
rmdir DIRECTORY_NAME
nano
nano is a simple text editor
nano FILENAME
nano will create itnano here