Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2011Fall

08.16.10 - 12.12.10

Introduction to UNIX/Linux

CSCI1483

Tuesday Thursday
01:00 PM - 02:20 PM

Working with Directories and Files

Lab03

Objective: To practice working in the file system

pastdue

Submit Your Solution

Lab03

Request a Copy of your Solution

Lab03

Requirements

Answer all questions correctly (2 points each)20 pts
Total20 pts

Instructions

Perform each of the tasks described below from your home directory and record the command(s) used to complete each task in a text file.

  1. Create three subdirectories directly under your home directory. Name them: first, next, and last.
  2. Copy the files you created during a previous lab (Names, Names_too, and Names_all) into each of your new directories.
  3. In the "first" directory, rename "Names" to "Friends".
  4. Move the "Friends" file to your home directory.
  5. Delete the "Names_all" file from the "last" directory.
  6. Determine the access permissions for all files in the "next" directory and note them here.
  7. Make your home directory your current working directory.
  8. Display the "Names_all" file in sorted order.
  9. Display the "Names_all" file in reverse order.
  10. Remove all the subdirectories you created during this lab exercise.