Computer Science Homework Solutions
Problem
#152847

Unix

Please see attachment. I need help with the commands in unix for this problem.

Attached file(s):
Attachments
LAB work.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

LAB work.doc
1 Make a directory in your home directory called your last name (ie.
boyle)

2. Create a directory within “your last name” called BLACKSBURG. Do
this from your home directory

3. Change to the “your last name” directory.

4. Create a directory within “your last name” called HAMPTON

5. Create directories TIDEWATER and HOKIE within “your last name”
with one command.

6. Change to TIDEWATER.

7. Create a file from the keyboard called COLLEGE in the TIDEWATER
directory with the following contents

TCC is a COLLEGE.

My first name is _____. (put your first name there! hit enter)

This is a test. " (hit enter here)

Hit Ctl + d - (Ctl + d is the end of file command!)

8. Return to your home directory, and then show your current working
directory (that’s two commands).

Perform #9 to #16 from this location

9. Create a file from the keyboard called UNIVERSITY within the HOKIE
directory with the following contents:

Virginia Tech is a UNIVERSITY.

My last name is _____." put your last name there! (hit enter here)

Hit Ctl + d - (Ctl + d is the end of file command!)

10. Copy the file COLLEGE to the BLACKSBURG directory

11. Show a long directory listing of the BLACKSBURG directory

12. Copy the UNIVERSITY file to the BLACKSBURG directory

13. Create a TCC file which is a combination of COLLEGE and
UNIVERSITY.

14. Show a directory listing of your home directory showing all
subdirectories.

15. Show the contents TCC

16. Delete the COLLEGE file in the TIDEWATER directory and the
UNIVERSITY file in the HOKIE directory in one command

17. Show a directory listing of your home directory showing all
subdirectories.

18. Change to "your last name" directory, show the current working
directory

19. Delete TIDEWATER

20. Show the file permissions for all directories and subdirectories
within "your last name"
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$15.96)
Included in Download
  • Plain text response
  • Attached file(s):
    • Brainmass 152847 Shell script LAB work 10-11-2007.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Using Unix alias to emulate DoS commands - Assume you are an experienced DOS programmer and you want to write UNIX shell scripts using DOS commands. Use the alias command so you can type the follow DOS commands and perform UNIX functions: a ...
  • UNIX Commands - You have a file called records.txt containing the list of employee id and employee names. Every line contains a single employee id immediately followed by (that means no space) the employee name in th ...
  • What are the advantages and disadvantages of being able to modify UNIX? - What are the advantages and disadvantages of being able to modify UNIX?
  • UNIX - Using UNIX Please explain how to do the following: 1. Create a directory called class. 2. Move into that directory directory. 3. Create a text file, that contains what is your absolute path, ...
  • Unix scripts - Create a directory called class. Move into that directory. Create a text file that contains what is your absolute path, and call it paths.txt
Browse