Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

A Quick Introduction to Unix/exercises2

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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. |type="{}"} Using most varieties of UNIX, the user can get a listing of files in the current directory using the command { ls _2 }. To find out which is the current directory in the file system, the user types { pwd _3 } and to change back to the home directory from any place in the file system, the user can type { cd ~|cd _4 }or { cd| cd ~ _4 } in most flavours of UNIX. Task Four {Complete the following text that summarizes the meaning of some commands that we have covered. |type="{}"} Using most varieties of UNIX, the user can move to the directory immediately above the current directory by typing { .. _2} and to indicate the current directory, the user can type { . _1}.