CSCI 320 - Operating Systems & Concurrency
Spring 2019
Shell Assignment 1
What shell command produces each of the following outputs?
- Listing of all files in a directory, including "hidden" files.
- A long-list of files in a directory, with file sizes in the most
appropriate of the following: Byte, Kilobyte, Megabyte, Gigabyte,
Terabyte and Petabyte
- The first fifteen lines of a file.
- The last fifteen lines of a file.
- Every line in a file containing the word "red".
- All files in a directory ending with "txt".
Grading Criteria
- Each correct answer is worth 2 points.
- The assignment is worth 12 points total.