Using directories

We can use directories (folders) to categorize and organize our files. Since you may use this account for other classes, we need to create a new subdirectory or folder to store the files created during the class. Type

mkdir csc1710

and list your files (with ls).

Now that you have a subdirectory (or folder) to store some files in, you enter or "change into" that subdirectory by typing

cd csc1710

If you list your files in this subdirectory, you should see nothing. You can move back "up" to the previous (or parent) subdirectory with the command. Caution: There is a space between the cd and the .. in the command.

cd ..

and then you can reenter the subdirectory with

cd csc1710


Move on to NEXT, go BACK, or return to START.
Mr. Roger Shore
rshore@linus.highpoint.edu