A Quick Introduction to Unix/exercises2

From Wikibooks, open books for an open world
Jump to: navigation, search

Task One[edit]

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[edit]

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[edit]

1. 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.

Your score is 0 / 0


Task Four[edit]

1. 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 .

Your score is 0 / 0