Professional Documents
Culture Documents
Q. INLAB
TASK No. 01
Page |1
5. List the contents of the root directory.
By running command of ls ( stand for lists) we get the contents of our root directory. As shown
below
Page |2
8. Stay where you are, and list the contents of /bin and /sbin:
Ls /bin command is used to list down the contents of /bin and below is the very long list that are
shown below.
I have run the command of ls /sbin and display all the possible contents of it as shown below.
<***********************Task 1 END************************>
Page |3
Task 2
Perform the following tasks using Linux CLI
1. Create a directory “mydir1” in Desktop Directory. Inside mydir1 create another
directory “mydir2”.
2. Change your current directory to “mydir2” using absolute path
3. Now, change your current directory to Documents using relative path
4. Create mydir3 directory in Documents directory and go into it
5. Now, change your current directory to mydir2 using relative path
1. Create a directory “mydir1” in Desktop Directory. Inside mydir1 create another directory
“mydir2”.
I have run following 4 lines command to make mydir1 in Desktop Directory, then mydir2 in mydir1.
Codes is shown below and and created directory is also attached below.
Screen shot of mkdir2 in mydir1 and mydir1 is in desktop and desktop is in home.
Page |4
5. Now, change your current directory to mydir2 using relative path
Currenty I was in mydir3 under Documents, so by running following relative path, I changed my
current directory to mkdir2 that was in mydir1 on Desktop.
Page |5
Post Lab Task
<*********************************************>
Respected ma’am,I am Feeling difficulties in post lab, and unable to complete my post lab task.
<***************************END**************************>
Page |6