pwd, mkdir and cd command in Unix Lab (BCA - 506P) Practical-1



Execute the following list of basic commands in UNIX:

(i) pwd (ii) mkdir (iii) cd

(1) pwd - pwd stands for Print Working Directory. It writes the complete path  name of the working directory to standard output device.
 




(2) mkdirmkdir stands for Make Directory. You create a new directory wherever you want in your system.


The above command 
"mkdir New_dir2 will create a new directory named "New_dir2".


The above command "mkdir dr1 dr2 dr3" will create three new directories at once named dr1, dr2, dr3.

(3) cd- cd stands for change Directory. You can move from current working directory to different directories.



The above command "cd d1" will change the current working directory from "rakseh" to "d1"

Post a Comment

0 Comments