Contact us

Print

Using mkdir

The mkdir command is used to create directories. You will create two directories called “folder1” and “folder2”

To use mkdir


1. Type

[root@localhost root]# mkdir folder1


2. Create a second directory called folder2


[root@localhost root]# mkdir folder2


3. Now change your working directory to the “folder1” directory you created above.

[root@localhost root]# cd folder1


4. Display your current working directory.


[root@localhost folder1]# pwd

/root/folder1


5. Without leaving your present directory, change to the “folder2” directory .What is the
command to do this?


Created by: system. Last Modification: Wednesday 26 of November, 2008 19:12:28 EST by wale.

...