Quiz Answer Key and Fun Facts
1. The standard Unix command for removing a file or a directory is "rm".
Assuming that your current working directory does not have a file named "God", how will CSH respond to you issuing the command "rm God"?
2. At the CSH prompt, you typed "!:sugar's not healthy, how about saccharine?".
CSH responds by "Bad substitute."
3. CSH is also a witty commentator on the political state of affairs.
What is CSH's answer to the following query:
"If I had a ( for every unnecessary $ the Government spends, what would I have in hand?"
4. You have an extremely idle and non-productive colleague called John Doe. You could always check if CSH agrees with your view. All you need to do is ask it.
Which of the following would be the response to your question below?
"How would you rate John Doe's incompetence?
5. A standard Unix command for program compilation is "make".
You try to compile a non-existing program, typing "make love" at the CSH command prompt.
What happens next?
6. Ask CSH "[ Where is Jimmy Hoffa?".
What is the answer?
7. A standard Unix command used to display the contents of a file is "cat".
You try to display a non-existent file named "food in cans" by typing in "cat 'food in cans'".
What is the funny outcome?
8. "nice" is a Unix command which manipulates command priorities.
What happens when you type in "nice dog - sit down!"?
9. "man" is a standard Unix command which invokes the manual pages of the requested command (e.g. "man rm" displays the manual pages for "rm").
What is the response to "man sex"?
10. Is the following CSH sequence real (t) or was it made up by me (f)?
man: why did you get a divorce?
man:: Too many arguments.
11. A standard Unix command which directs the operating system to halt its operation for the specified amount of time is "sleep" (e.g. "sleep 5" will halt the shell for 5 seconds).
The "sleep" command expects only numeric character(s) as an argument.
Fill in the response to "sleep 1_night_with_me!".
sleep: --- --------- in argument
12. Job control is one of the features which CSH introduced into the Unix shell world and it has been incorporated to all major shells. The percent symbol is used to refer to a job. What is the response to a user trying to refer to a non-existing job, as in "%blow"?
13. After typing a certain CSH command line, I received the following response:
"Modifier failed."
What was the command line?
14. "ar" is a standard Unix command for creating and manipulating file archives.
If a user wants to add or replace files in an archive named "A", he should issue the command "ar r A".
How does CSH react when a user issues the command "ar r Money", given that an archive named "Money" does not exist in the current working directory?
15. What's the laconic response to following CSH command line:
"You were great tonight, can you please light me a cigarette before sleep?"
Source: Author
gentlegiant17
This quiz was reviewed by FunTrivia editor
crisw before going online.
Any errors found in FunTrivia content are routinely corrected through our feedback system.