CSCI 420 - Operating Systems & Concurrency
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".
- Each correct answer is worth 2 points.
- The assignment is worth 12 points total.