< A Quick Introduction to Unix

Task One

Use the commands cd, ls and pwd to explore the file system. (Remember, if you get lost, type cd by itself or cd ~ to return to your home-directory).

Task Two

Make a directory in your home directory called unixstuff. Make another directory inside the unixstuff directory called archive.

Click to see the correct command lines
% mkdir ~/unixstuff
% mkdir ~/unixstuff/archive

Task Three

Complete the following text that summarizes the meaning of some commands that we have covered.

Using most varieties of UNIX, the user can get a listing of files in the current directory using the command

. To find out which is the current directory in the file system, the user types

and to change back to the home directory from any place in the file system, the user can type

or

in most flavours of UNIX.

Task Four

Complete the following text that summarizes the meaning of some commands that we have covered.

Using most varieties of UNIX, the user can move to the directory immediately above the current directory by typing

and to indicate the current directory, the user can type

.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.