Fun Trivia | Quizzes | Games | People | Services | Help | Me
Register - Log In
Jokes That the C Shell Told Me

Crafted by Trivia Architect gentlegiant17

Fun Trivia : Quizzes : Operating Sytems : Jokes That the C Shell Told Me

Introduction:
"The Unix C Shell (CSH) was developed by the famous Bill Joy. This quiz is a joyful one indeed. Knowledge of CSH is NOT a pre-requisite. Sit back and prepare yourself for a good laugh from the erratic responses CSH can produce, a Unix folklore by now."


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"?
    rm: God not found
    rm: God non-existent
    rm: God cannot be removed
    rm: Blasphemous content


2. At the CSH prompt, you typed "!:sugar's not healthy, how about saccharine?".

CSH responds by "Bad substitute."
    True
    False


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?"
    Too many ('s.
    Missing $'s.
    Too many $'s.
    Missing ('s.


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?
    Unmatched ".
    Infinite.
    Buffer overflow.
    None of these


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?
    The computer reboots
    Your account is locked
    Your session gets disconnected
    None of these


6. Ask CSH "[ Where is Bin Laden?".

What is the answer?
    Missing ].
    Operation not allowed.
    Who is Bin Laden?
    Bad character.


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?
    cat: Empty food in cans
    None of these
    Either of these
    cat: Cannot open food in cans


8. "nice" is a Unix command which manipulates command priorities.

What happens when you type in "nice dog - sit down!"?


    dog: Command not found.
    command not found.
    dog not found.
    None of these


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"?
    The manual pages of the command "sex"
    None of these
    Operation not allowed.
    No manual entry for 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.
    True
    False


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
    Answer: (Two words (3,9), no capitals)


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"?
    Answer: (Three words (2,4,3))


13. After typing a certain CSH command line, I received the following response:

"Modifier failed."

What was the command line?
    Neither
    modify sex
    ^How did the sex change operation go?^
    Both


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?
    ar: give us Money
    ar: no Money
    ar: creating Money
    ar: Money not found


15. What's the laconic response to following CSH command line:

"You were great tonight, can you please light me a cigarette before sleep?"
    Not available.
    Good character.
    Bad request.
    No match.


report error/typo/spelling mistake (new window)
Copyright, FunTrivia.com. All Rights Reserved.
Legal / Conditions of Use