FREE! Click here to Join FunTrivia. Thousands of games, quizzes, and lots more!
Quiz about Unix Is Unique
Quiz about Unix Is Unique

Unix Is Unique Trivia Quiz


Unix is an operating system manufactured by AT&T. Its other versions are Linux, Solaris, and others. This quiz is about Unix commands, the Unix file system, and Unix in general.

A multiple-choice quiz by ebanks120. Estimated time: 3 mins.
  1. Home
  2. »
  3. Quizzes
  4. »
  5. Science Trivia
  6. »
  7. Computers
  8. »
  9. Operating Systems

Author
ebanks120
Time
3 mins
Type
Multiple Choice
Quiz #
406,124
Updated
Mar 29 22
# Qns
10
Difficulty
Average
Avg Score
7 / 10
Plays
222
Last 3 plays: Guest 124 (0/10), Guest 103 (9/10), GoodwinPD (10/10).
- -
Question 1 of 10
1. One of the first versions of Unix came from which university? Hint


Question 2 of 10
2. Which of these is a hidden file in Unix? Hint


Question 3 of 10
3. Bash is another name for which Unix shell? Hint


Question 4 of 10
4. What does the man command do? Hint


Question 5 of 10
5. In a Unix script, what is the #! symbol called? Hint


Question 6 of 10
6. Which of these is a standard Unix environment variable? Hint


Question 7 of 10
7. What number needs to follow the chmod command if you want to grant reading, writing, and executing permissions to the file's owner, but only reading permissions everyone else, including members of the same group? Hint


Question 8 of 10
8. You are in the command mode of the vi text editor. What do you type to save and close the Unix text file or script you have currently loaded? Hint


Question 9 of 10
9. Which wildcard can not represent the character 'h'? Hint


Question 10 of 10
10. Which Unix control key command interrupts a program? Hint



(Optional) Create a Free FunTrivia ID to save the points you are about to earn:

arrow Select a User ID:
arrow Choose a Password:
arrow Your Email:




Most Recent Scores
Feb 27 2024 : Guest 124: 0/10
Feb 13 2024 : Guest 103: 9/10
Feb 12 2024 : GoodwinPD: 10/10
Feb 11 2024 : Guest 173: 7/10
Feb 09 2024 : Guest 173: 4/10
Feb 05 2024 : PurpleComet: 7/10

Quiz Answer Key and Fun Facts
1. One of the first versions of Unix came from which university?

Answer: UC Berkeley

UC Berkeley, short for the University of California in Berkeley, is home to the Golden Bears. Its version of Unix is known as the Berkeley Software Distribution (BSD). It was released in 1977 and discontinued in 1995.
2. Which of these is a hidden file in Unix?

Answer: .prophecy

A hidden file is a file whose name starts with a period and not displayed using a standard ls command. It is displayed by using the ls -a command which displays all files, including hidden files.
3. Bash is another name for which Unix shell?

Answer: the Bourne Again Shell

Bash is an upgrade to the Bourne shell. It was created in 1989 by Brian Fox.
4. What does the man command do?

Answer: explains Unix commands

The man command, followed by the name of any other command, explains that command's function and how to use it (e.g. man cal explains the cal command). It is basically a dictionary for Unix commands.
5. In a Unix script, what is the #! symbol called?

Answer: the shebang

The shebang indicates that the Unix file is a script. It will not execute without the shebang; it'll be just a regular file.
6. Which of these is a standard Unix environment variable?

Answer: PWD

The environment variable PWD shows the directory you are currently in. For instance if user ebanks120 was in their home directory and then used the PWD variable, it would come out as /home/ebanks120. However, if I move to the /bin directory, the PWD variable would display the output as /bin. The PWD variable has the same function as the pwd command.
7. What number needs to follow the chmod command if you want to grant reading, writing, and executing permissions to the file's owner, but only reading permissions everyone else, including members of the same group?

Answer: 744

When it comes to files and scripts, the chmod command gives reading (r), writing (w), and executing (x) permissions to people that use Unix. The people that receive those permissions are divided into three groups: the user who owns the file (u), the file user's group (g), and other users in the system (o). in that order. Reading permissions are represented by the number 4, writing permissions are represented by the number 2, and executing permissions are represented by the number 1. The numbers are added to get the number that represents the permissions given.
8. You are in the command mode of the vi text editor. What do you type to save and close the Unix text file or script you have currently loaded?

Answer: wq

The w writes (or saves) a Unix text file or script, and the q exits the vi text editor.
9. Which wildcard can not represent the character 'h'?

Answer: [EH]

The wildcard [EH] means that the character is either E or H. However it does not meet the criteria when it comes to representing the character 'h' as characters in file names are case sensitive, so 'H' and 'h'mean two entirely different things in Unix.

On the other hand, [^s] can represent 'h' because it means "not h". The same can be said with the * and ? symbols as * lists all files and ? can stand for any character.
10. Which Unix control key command interrupts a program?

Answer: CTRL + C

CTRL + C is also a keyboard shortcut that copies text in the Windows environment.
Source: Author ebanks120

This quiz was reviewed by FunTrivia editor WesleyCrusher before going online.
Any errors found in FunTrivia content are routinely corrected through our feedback system.
Related Quizzes
This quiz is part of series Computer Science Quizzes:

A series of quizzes on computer programming and architecture.

  1. C++ Trivia Average
  2. Assembly Language for the x86 Processor Average
  3. The Science of Computer Technology Average
  4. Unix Is Unique Average
  5. HTML Fundamentals Average
  6. The SQL Database Environment Average

3/28/2024, Copyright 2024 FunTrivia, Inc. - Report an Error / Contact Us