Your SlideShare is downloading. ×
Cis 206 i lab 4 working with directories
Cis 206 i lab 4 working with directories
Cis 206 i lab 4 working with directories
Cis 206 i lab 4 working with directories
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Cis 206 i lab 4 working with directories

151

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
151
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CIS 206 iLab 4 Working with DirectoriesClick this link to get the tutorial:http://homeworkfox.com/tutorials/general-questions/10092/cis-206-ilab-4-working-with-directories/LAB OVERVIEWScenario/SummaryTCO 9: Given a business requirement requiring the writing of a script or a command file,develop a script or command program that meets the specified business requirement for either aMicrosoft or a UNIX family operating system.TCO 10: Given a computing environment using multiple operating systems, prepare apresentation that compares and contrasts the resource management functions of Microsoft andUNIX family operating systems including file system management, memory management, andkernels and shells in both the GUI and the CLI environments.This lab will have you help you familiarize yourself with the Linux directory structure. You willcreate and delete a series of files and directories using the vim Editor. To complete the lab,perform the steps listed in the eBooks Chapter 4 and 5, listed below in each step of the lab.Submit a series of screen captures as proof of successful completion of lab activities.DeliverablesDesired (Lab) Learning Outcome: After completing this lab, you will able to successfully usevim Editor to:Display files and directories Create directories Remove directories Copy, move, rename anddelete files using the cp, mv, and rm commands Searching for files using the find commandNote: You will be graded based on the steps and tasks you complete successfully. Credit will begiven for partial completions of steps.Important:All iLabs must be submitted following iLabTechnicalReportTemplate document and the reportfile must be dropped into the corresponding bascket in the drop box!After finishing the steps below, you have to submit your iLab in MS Word or any otherequivalent format. Always refer toTechnicalReportsWriting:iLabs and Projects for more detailsabout Technical Reports Writings. LABSTEPS
  • 2. STEP 1: Accessing the virtual lab environment and scheduling the labAccess the virtual lab environment and schedule the Using the vim Editor in Linux lab for week5.Important: All Labs must be submitted using the iLabTechnicalReportTemplate to the labDropbox for credit.STEP 2: Access the command promptAfter successfully scheduling and launching the Using the vim Editor virtual lab, click on thebegin lab button. The Red Hat Linux desktop will appear. To access the command prompt, clickon the red hat icon and select system tools and then terminal. You may also access the commandprompt by right clicking on the Red Hat Linux desktop and choosing terminal from the menu.Either method will allow you to access the command prompt. Note the command prompt willappear as [root@redhat root]#. Take a screen shot of this portion. For a demonstration on how toaccess the virtual lab Red Hat Linux command prompt and starting the vi editor, view theaccessing vi editor video.STEP 3: Using the ls commandIn this step, you use the ls command to find information about the file systems on a RedHatLinux system. This step is activity 4-5 of your text. Refer to page 159 of your eBook for step-by-step instructions. Note: skip steps 1-4. These steps are not required, since you have a virtual labplatform. Begin with step 5 and take a screen shot of this portion. For a demonstration on how toperform this step, view the week 5 step 3 video.STEP 4: Creating DirectoriesIn this step, you use the mkdir command to create directories in a RedHat Linux directorystructure. This step is activity 4-11 of your text. Refer to page 169 of your eBook for step-by-step instructions. Note: skip steps 1-4. These steps are not required, since you have a virtual labplatform. In step 5, type cd /home and press enter, this will place you in the home directory andyour command prompt should now read[root@redhat root home]#. Begin with step 6 and takea screen shot of the different commands as you complete them. For a demonstration on how toperform this step, view the week 5 step 4 video.STEP 5: Removing Directories (10 points)
  • 3. In this step, you use the rmdir command to create directories in a RedHat Linux directorystructure. 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 labplatform. In step 5, type cd /home and press enter, this will place you in the home directory andyour command prompt should now read [root@redhat root home]#. Begin with step 6 and takea screen shot of the different commands as you complete them. Corrections for this activity, youractivity states that using the rmdir mynewdir/myseconddir command will remove bothdirectories. This is not correct, this command will only remove the myseconddir. You will needto type rmdir mynewdir to remove the mynewdir directory. For a demonstration on how toperform this step, view the week 5 step 5 video.STEP 6: Working with filesIn this step, you use the rmdir command to create directories in a RedHat Linux directorystructure. 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 labplatform. In step 6, type cd /home and press enter, this will place you in the home directory andyour command prompt should now read [root@redhat root home]#. Begin with step 6 and takea screen shot of the different commands as you complete them. Corrections for this activity, youractivity states to use the command mv mynewfile /home/User01/myfourthdir. This is notcorrect. This command must be typed using the following syntax mv mynewfile/home/myfourthdir . You will also receive the following warning after completing step 16 ofactivity4-17, rm: remove regular file mynewfile?, type yes and press enter. For a demonstrationon how to perform this step, view the week 5 step 6 video.STEP 7: Finding filesIn this step, you use the rmdir command to create directories in a RedHat Linux directorystructure. 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 labplatform. In step 5, type cd /home instead of cd /home/User01 and press enter, this will place youin 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 ademonstration on how to perform this step, view the week 5 step 7 video.STEP 8: Exiting the virtual labOnce you have successfully completed the required work, close the terminal session of your RedHat Linux. You can now end the virtual lab session. Once you have completed the lab report andattached your screenshots, submit it to the week 5 iLab dropbox.

×