CIS 206 iLab 4 Working with Directories CIS 206 iLab 4 Working with Directories | Page 3
take a screen shot of the different commands as you complete them. For a demonstration on
how to perform this step, view the week 5 step 4 video.
STEP 5: Removing Directories (10 points)
In this step, you use the rmdir command to create directories in a RedHat Linux directory
structure. This step is activity 4-14 of your text. Refer to page 175 of your eBook for step-by-
step instructions. Note: skip steps 1-4. These steps are not required, since you have a virtual lab
platform. In step 5, type cd /home and press enter, this will place you in the home directory
and your command prompt should now read [root@redhat root home]#. Begin with step 6 and
take a screen shot of the different commands as you complete them. Corrections for this
activity, your activity states that using the rmdirmynewdir/myseconddir command will remove
both directories. This is not correct, this command will only remove the myseconddir. You will
need to type rmdirmynewdir to remove the mynewdir directory. For a demonstration on how
to perform this step, view the week 5 step 5 video.
STEP 6: Working with files
In this step, you use the rmdir command to create directories in a RedHat Linux directory
structure. This step is activity 4-17 of your text. Refer to page 185 of your eBook for step-by-
step instructions. Note: skip steps 1-5. These steps are not required, since you have a virtual lab
platform. In step 6, type cd /home and press enter, this will place you in the home directory
and your command prompt should now read [root@redhat root home]#. Begin with step 6 and
take a screen shot of the different commands as you complete them. Corrections for this
activity, your activity states to use the command mv my newfile /home/User01/myfourthdir.
This is not correct. This command must be typed using the following syntax mv mynewfile
/home/myfourthdir . You will also receive the following warning after completing step 16 of
activity4-17, rm: remove regular file 'mynewfile'?, type yes and press enter. For a
demonstration on how to perform this step, view the week 5 step 6 video.
STEP 7: Finding files
In this step, you use the rmdir command to create directories in a RedHat Linux directory
structure. This step is activity 5-15 of your text. Refer to page 242 of your eBook for step-by-
step instructions. Note: skip steps 1-4. These steps are not required, since you have a virtual lab
platform. In step 5, type cd /home instead of cd /home/User01 and press enter, this will place
you in the home directory and your command prompt should now read [root@redhat root
home]#. Begin with step 7 and take a screen shot of the different commands as you complete
them. Note: pressing ctrl c, will allow you to escape from any of the commands you enter. For a
demonstration on how to perform this step, view the week 5 step 7 video.