Using Files and Directories
In Unix, we call "folders" "directories."
At the command line you are always "in" a directory.
In Unix a file's name is also its location.
You can find out which directory you are in with the
pwd
command.
You change the directory you are in with the
cd
command.
Files are renamed and /or moved with the same command:
mv
Files are copied with the
cp
command.
Files are removed with the
rm
command. There is no "Undo" for
rm
!
Tasks:
Consider a common GUI task such as dragging a group of files from one folder into another. How might that be easier from te command line? harder?
Previous - Connecting to Another Machine on The Internet
Next - Editing and Printing Files
Home