@@


A: UNIX? - 7


, MS-DOS, "cd". : UNIX , "cd". :

 

$ cd /

$ ls

A E proc

base.bat etc reg

baseserviceslink.sh F sys

bin H tmp

C home usr

D lib var

dev linka win

$ cd /A

$ ls

tpna.arj

$ cd /var

$ ls

adm tmp uninstall

 

"mkdir" (Make Directory). "mkdir myname" "myname". , "-p". :

 

$ mkdir temp

$ cd temp

$ ls

$ mkdir 1/2/3

mkdir: 1/2/3: [No such file or directory]

$ mkdir -p 1/2/3

$ ls

1

$ ls 1

2

$ ls 1/2

3

 

, , UNIX , "-p" . , "mkdir" . :

 

$ mkdir 1 2 3

$ ls

1 2 3

 

rm. , -d. , -r, . , /1/2/3 :