IT 244: Introduction to Linux/Unix
Class 5 Ungraded Quiz
-
What would you type at the command line if you wanted to see the value of the variable SHELL?
-
What would you type at the command line if you wanted to know the network name of the Unix computer you were using?
-
Name one of the two pager programs that allow you to read a long file one screenful at a time.
-
If you started typing the name of a file on the command line and wanted Unix to supply the rest, what would you do?
-
What would you type at the command line if you wanted to find all lines in the file results.txt
that contained the word "homework"?
-
What would you type at the command line if you wanted to find all lines in the file results.txt
that DID NOT contain the word "homework"?
-
What would you type at the command line if you wanted to see the FIRST 10 lines of the file log.txt?
-
What would you type at the command line if you wanted to see the LAST 10 lines of the file log.txt?
-
What would you type at the command line if you wanted to see all the lines in the file results.txt
in sorted order?
-
What would you type at the command line if you wanted to see all the lines in numbers.txt
sorted in REVERSE NUMERIC order?