Hannah Alcantara NETW240 Week 2 ILab Essay examples

Submitted By Hann420
Words: 916
Pages: 4

Name: Hannah Alcantara
DSI#
D01602884
Date
May 14, 2015

NETW240 Week 2 Lab Report: Linux Commands and Directories

Step 2: File System Navigation

1: Display a long listing of the root ( ⁄) directory. Enter ls -l ⁄ Verify that the output is from the ⁄etc directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Root directory folders

2: Display a long listing of the ⁄etc directory. Enter ls -l ⁄etc Verify that the output is from the ⁄etc directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Configuration files

3: Display a long listing of the ⁄bin directory.

Enter ls -l ⁄bin. Verify that the output is from the ⁄bin directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Pwd, rm, rmdir, rpm commands

4: Display a long listing of the ⁄sbin directory.

Enter ls -l ⁄sbin. Verify that the output is from the ⁄sbin directory and is a long list.

What type of files may you find in this directory? Write your answer below.
IP6tables and kernel items

5: Display a long listing of the ⁄dev directory.

Enter ls -l ⁄dev. Verify that the output is from the ⁄dev directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Hardware drivers

What is this directory use for? Write your answer below.
Installing and identifying installed drivers

6: Display a long listing of the ⁄usr directory.

Enter ls -l ⁄usr. Verify that the output is from the ⁄usr directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Games and share folders

7: Display a long listing of the ⁄home directory.

Enter ls -l ⁄home. Verify that the output is from the ⁄home directory and is a long list.

What type of files may you find in this directory? Write your answer below.
Found only one folder and that’s the vlab

8: Display a long listing of the ⁄root directory and its hidden files.

Enter ls -al ⁄root. Verify that the output is from the ⁄root directory and is a long list.

What type of files may you find in this directory? Write your answer below.
System log files as well as any files stored in desktop and downloads folder

What is this directory use for? Write your answer below.
Every folder in a Linux OS falls under the root folder changes to this can only be done with “super-user” privileges.

9: Return to your home directory.

Enter cd ˜. Enter pwd.

What does the acronym pwd stand for? Write your answer below.
Print Working Directory

What is the output of the pwd command? Write your answer below.
/root

Character “˜” represents your home directory, regardless of who you are logged in as.

What is a home directory used for? Write your answer below.
The home directory is used for personal configuration files for each user.

12: Change directory.

Enter cd file-cabinet. Enter ls. Enter pwd.

What directory are you in? Write your answer below.
/home/vlab/file-cabinet

13: Delete the directory.

Enter ls. Enter rmdir file-cabinet. Enter ls.

Was the directory file-cabinet deleted? Write your answer below.
Yes it was per the command rmdir.

14: Delete the files.