Chapter 4 And 5 Linux Test Questions

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Tiffshirk
T
Tiffshirk
Community Contributor
Quizzes Created: 5 | Total Attempts: 1,146
Questions: 60 | Attempts: 233

SettingsSettingsSettings
Chapter 4 And 5 Linux Test Questions - Quiz

.


Questions and Answers
  • 1. 

    On a single user system who is the administrator?

    • A.

      The company

    • B.

      The User

    • C.

      The president

    • D.

      The person who sold them the OS

    Correct Answer
    B. The User
    Explanation
    In a single user system, the administrator is the user themselves. As there is only one user, they have complete control and authority over the system. They are responsible for managing and maintaining the system, making decisions, and performing administrative tasks. Therefore, in this scenario, the user is the administrator.

    Rate this question:

  • 2. 

    What is a strong password?

    • A.

      Password

    • B.

      Administrator

    • C.

      F5g!k9Aw6

    • D.

      Deiterich

    Correct Answer
    C. F5g!k9Aw6
    Explanation
    A strong password is a combination of letters, numbers, and special characters that is difficult for others to guess or crack. The password "F5g!k9Aw6" meets these criteria as it includes a mix of uppercase and lowercase letters, numbers, and special characters, making it more secure than the other options provided.

    Rate this question:

  • 3. 

     True or False? Nautilus is GNOME’s simple, yet powerful file manager.

    • A.

      False

    • B.

      True

    Correct Answer
    B. True
    Explanation
    Nautilus is indeed GNOME's simple, yet powerful file manager. It is the default file manager for the GNOME desktop environment and provides a user-friendly interface for browsing and managing files and directories. Nautilus offers various features such as a sidebar for quick access to frequently used locations, support for multiple tabs, integrated search functionality, and the ability to handle remote file systems. Therefore, the given answer "True" is correct.

    Rate this question:

  • 4. 

    If you are referred to as Superuser or administrator you are logged in as the user name what?

    • A.

      Administrator

    • B.

      Genius

    • C.

      Root

    • D.

      Commander

    Correct Answer
    C. Root
    Explanation
    When you are referred to as Superuser or administrator, it means that you have the highest level of access and control over a computer system or network. The term "root" is commonly used in Unix-based systems to represent the superuser or administrator account. Therefore, the correct answer is "root".

    Rate this question:

  • 5. 

    What is one thing you can’t change in the Tweak Tool window?

    • A.

      Fonts

    • B.

      Interface

    • C.

      Windows

    • D.

      Boot order

    Correct Answer
    D. Boot order
    Explanation
    In the Tweak Tool window, you can customize various settings such as fonts, interface, and windows. However, one thing that you cannot change in the Tweak Tool window is the boot order. The boot order refers to the sequence in which the computer's operating system is loaded during startup, and it is typically managed through the computer's BIOS or UEFI settings, rather than the Tweak Tool window.

    Rate this question:

  • 6. 

    What command deletes a file?

    • A.

      Less

    • B.

      L

    • C.

      Rm

    • D.

      Mv

    Correct Answer
    C. Rm
    Explanation
    The command "rm" is used to delete a file. It stands for "remove" and is commonly used in Unix-based operating systems to permanently delete a file from the system. This command removes the specified file, and it cannot be recovered once deleted.

    Rate this question:

  • 7. 

    To quote a character you must precede it with what?

    • A.

      /

    • B.

      \

    • C.

      ?

    • D.

      "

    Correct Answer
    B. \
    Explanation
    To quote a character, you must precede it with a backslash (\).

    Rate this question:

  • 8. 

     How do you print a file?

    • A.

      Mv

    • B.

      Lpr

    • C.

      Uniq

    • D.

      Diff

    Correct Answer
    B. Lpr
    Explanation
    To print a file, the correct command is "lpr". The "lpr" command is used to send files to a printer for printing. It takes the file as input and sends it to the default printer or the printer specified in the command. This command is commonly used in Unix-like operating systems to initiate the printing process.

    Rate this question:

  • 9. 

    What utility copies the characters you type on the command line to the screen?

    • A.

      Cp

    • B.

      Echo

    • C.

      | (pipe)

    • D.

      Script

    Correct Answer
    B. Echo
    Explanation
    The utility that copies the characters you type on the command line to the screen is "echo".

    Rate this question:

  • 10. 

    To compress a file what utilities can be used?

    • A.

      Bzcat

    • B.

      Bzip2

    • C.

      Gzip

    • D.

      Both B and C

    Correct Answer
    D. Both B and C
    Explanation
    Both Bzip2 and gzip can be used to compress a file. Bzip2 is a file compression utility that uses the Burrows-Wheeler algorithm, while gzip is a file compression utility that uses the DEFLATE algorithm. Both utilities are commonly used for compressing files to reduce their size and save storage space.

    Rate this question:

  • 11. 

    While you are logged in as the user named root, you are referred to as ____________ or administrator.

    • A.

      Poweruser

    • B.

      Superuser

    • C.

      Rootuser

    • D.

      Privileged User

    Correct Answer
    B. Superuser
    Explanation
    While logged in as the user named root, you are referred to as a superuser or administrator. This term implies that you have the highest level of privileges and control over the system. As a superuser, you have unrestricted access to all system files and settings, allowing you to perform administrative tasks and make changes that regular users cannot.

    Rate this question:

  • 12. 

     When you click a name, Fedora/RHEL displays a text box labeled _____________.

    • A.

      Menu

    • B.

      Desktop

    • C.

      Password

    • D.

      Login

    Correct Answer
    C. Password
    Explanation
    When you click a name, Fedora/RHEL displays a text box labeled "Password". This is because when logging into a system, the user is required to enter their password for authentication purposes. The password text box allows the user to securely input their password, ensuring that only authorized individuals can access the system.

    Rate this question:

  • 13. 

    What command installs the Gnome Tweak Tool?

    • A.

      Su -c 'yum install gnome-tweak-tool'

    • B.

      Us -s 'yummers stall toolss'

    • C.

      Su -c 'yum install tool-gnome-twitch'

    • D.

      Su 'yummy installation tweak-tool'

    Correct Answer
    A. Su -c 'yum install gnome-tweak-tool'
    Explanation
    The correct answer is "su -c 'yum install gnome-tweak-tool'". This command is using the "su" command to switch to the superuser, "-c" to execute the following command as the superuser, and "yum install gnome-tweak-tool" to install the Gnome Tweak Tool using the package manager "yum".

    Rate this question:

  • 14. 

    You can display the Run Application window by pressing ________.

    • A.

      ALT - F4

    • B.

      ALT - F2

    • C.

      Windows - R

    • D.

      Prt Scr

    Correct Answer
    B. ALT - F2
    Explanation
    Pressing ALT - F2 displays the Run Application window.

    Rate this question:

  • 15. 

    What command displays the system manual?

    • A.

      Mann

    • B.

      Man

    • C.

      Pam

    • D.

      Info

    Correct Answer
    B. Man
    Explanation
    The "man" command is used to display the system manual. It provides detailed information and documentation about various commands, functions, and system components in a Unix-like operating system. By typing "man" followed by a specific command or topic, users can access the corresponding manual page and learn more about its usage, options, and examples.

    Rate this question:

  • 16. 

     What command lists the names of files?

    • A.

      Cat

    • B.

      Ls

    • C.

      Rm

    • D.

      Cp

    Correct Answer
    B. Ls
    Explanation
    The command "ls" is used to list the names of files in a directory. It displays a list of all the files and directories present in the current directory.

    Rate this question:

  • 17. 

    What command changes the name of a file?

    • A.

      Mv

    • B.

      Cd

    • C.

      Rn

    • D.

      Dir

    Correct Answer
    A. Mv
    Explanation
    The correct answer is "mv." The "mv" command is used to move or rename files and directories in a Unix or Linux operating system. By using this command, the user can change the name of a file by specifying the current name and the desired new name as arguments.

    Rate this question:

  • 18. 

    What command prints a file?

    • A.

      Pnt

    • B.

      Lpr

    • C.

      Print

    • D.

      Hi

    Correct Answer
    B. Lpr
    Explanation
    The command "lpr" is used to print a file. It sends the specified file to a printer for printing.

    Rate this question:

  • 19. 

    Grep __________________________.

    • A.

      Searches for a string

    • B.

      Displays the end of a file

    • C.

      Displays a file in order

    • D.

      Replicates a set of files to a server

    Correct Answer
    A. Searches for a string
    Explanation
    Grep is a command-line utility that is used to search for a specific string or pattern within a file or multiple files. It allows users to search for keywords or patterns within the content of the files and displays the lines that match the search criteria. Therefore, the correct answer is "searches for a string."

    Rate this question:

  • 20. 

    What is used to communicate between processes?

    • A.

      ~

    • B.

      | (pipe)

    • C.

      -

    • D.

      /

    Correct Answer
    B. | (pipe)
    Explanation
    The correct answer is | (pipe). Pipes are used to establish communication between processes in a computer system. They allow the output of one process to be directly connected to the input of another process, enabling them to exchange data and information. Pipes are a simple and efficient method of inter-process communication, as they provide a one-way flow of data between processes.

    Rate this question:

  • 21. 

    ________ is the name of the file you click to open the window.

    • A.

      Icon

    • B.

      Filename

    • C.

      Folder

    • D.

      Terminal

    Correct Answer
    B. Filename
    Explanation
    When you want to open a window, you usually click on a file, and the name of that file is called the filename. Therefore, the correct answer is "Filename".

    Rate this question:

  • 22. 

    You can prohibit the group and others from accessing a file by specifying permissions as ________.

    • A.

      Deny

    • B.

      Read Only

    • C.

      None

    • D.

      Not Allowed

    Correct Answer
    C. None
    Explanation
    By specifying permissions as "None", you are essentially not granting any access to the group or others to the file. This means that they will be prohibited from accessing the file altogether.

    Rate this question:

  • 23. 

    To find out more about a utility, give the command _______.

    • A.

      Help

    • B.

      Man

    • C.

      ?

    • D.

      H

    Correct Answer
    B. Man
    Explanation
    The correct answer is "man". The "man" command is used in Unix-like operating systems to display the manual page for a given utility or command. It provides detailed information about the usage, options, and examples of the utility, helping users to understand and utilize it effectively. By typing "man" followed by the utility name, users can access the manual page and gain a deeper understanding of the utility's functionality.

    Rate this question:

  • 24. 

    You can use _____ or Control-C to quit.

    • A.

      Q

    • B.

      C

    • C.

      E

    • D.

      D

    Correct Answer
    A. Q
    Explanation
    The correct answer is "q" because the question is asking for the keys that can be used to quit. The options given are "q" and "Control-C". Both of these keys are commonly used to quit or exit programs, so either one can be used to quit.

    Rate this question:

  • 25. 

    A _______________ is the program that controls the look and feel of the basicGUI.

    • A.

      GUI

    • B.

      Screen Settings

    • C.

      Window Manager

    • D.

      Setup

    Correct Answer
    C. Window Manager
    Explanation
    A Window Manager is the program that controls the look and feel of the basic GUI. It manages the placement and appearance of windows, handles user interactions such as resizing and moving windows, and provides features like window decorations, taskbars, and virtual desktops. The Window Manager plays a crucial role in providing a user-friendly interface and organizing the visual elements of the GUI.

    Rate this question:

  • 26. 

    A _________ is a resource that can hold files.

    • A.

      Folder

    • B.

      File

    • C.

      Directory

    • D.

      GUI

    Correct Answer
    C. Directory
    Explanation
    A directory is a resource that can hold files. It is a hierarchical structure that organizes files and other directories, allowing users to easily navigate and access their stored data. Directories provide a way to categorize and manage files, making it easier to locate and retrieve specific information when needed.

    Rate this question:

  • 27. 

     The ______ utility deletes a file.

    • A.

      Del

    • B.

      Rm

    • C.

      Erase

    • D.

      D

    Correct Answer
    B. Rm
    Explanation
    The correct answer is "rm" because this command is commonly used in Unix-based systems to remove or delete files. It stands for "remove" and is used to permanently delete a file from the system.

    Rate this question:

  • 28. 

    In vim practice to get into input mode you can type ____

    • A.

      Edit

    • B.

      E

    • C.

      I

    • D.

      Input

    Correct Answer
    C. I
    Explanation
    In vim, to get into input mode, you can type "i". This command allows you to start inserting text at the current cursor position.

    Rate this question:

  • 29. 

    ___________ displays the full pathnames of a utility, source code, or man page.

    • A.

      Whereis

    • B.

      Who

    • C.

      Man

    • D.

      Info

    Correct Answer
    A. Whereis
    Explanation
    The whereis command is used to display the full pathnames of a utility, source code, or man page. It helps users locate the location of a specific file or program in the system. By using the whereis command followed by the name of the file or program, the command will provide the complete path to the file or program, making it easier for users to access or execute it.

    Rate this question:

  • 30. 

    ___________ have special meaning to the shell.

    • A.

      Special Words

    • B.

      Special Numbers

    • C.

      Special Characters

    • D.

      Special Letters

    Correct Answer
    C. Special Characters
    Explanation
    Special characters have special meaning to the shell. In shell scripting, special characters are used to perform specific functions or operations. These characters have a predefined significance and are interpreted by the shell in a particular way. They are used for tasks like redirecting input/output, separating commands, quoting strings, and more. Examples of special characters include the pipe symbol (|), redirection symbols (< and >), wildcard characters (* and ?), and the ampersand (&). Understanding and correctly using special characters is crucial in shell scripting to ensure proper execution of commands and achieve the desired results.

    Rate this question:

  • 31. 

    What account do you never want to experiment in?

    • A.

      Student

    • B.

      Guest

    • C.

      Root

    • D.

      Administrator

    Correct Answer
    C. Root
    Explanation
    The root account is the highest level of access in a computer system, typically reserved for system administrators. Experimenting with the root account can be extremely risky as it has unrestricted privileges and can make changes that can affect the entire system. Any mistake or misconfiguration while experimenting with the root account can lead to serious consequences, such as system instability, data loss, or even security breaches. Therefore, it is strongly advised not to experiment with the root account unless you have extensive knowledge and experience in system administration.

    Rate this question:

  • 32. 

     ________ is a user friendly default desktop under Fedora/RHEL.

    • A.

      GNOME

    • B.

      RABBIT

    • C.

      MAGE

    • D.

      GROME

    Correct Answer
    A. GNOME
    Explanation
    GNOME is a user-friendly default desktop under Fedora/RHEL. It is a popular desktop environment that offers a simple and intuitive interface for users. It provides a visually appealing and easy-to-use environment with various customization options. GNOME is known for its stability, performance, and extensive set of features, making it a preferred choice for many Linux users.

    Rate this question:

  • 33. 

    What mode does Fedora enter if the video card cannot support the graphics?

    • A.

      GNOME

    • B.

      Textual

    • C.

      Command Line

    • D.

      Fallback

    Correct Answer
    D. Fallback
    Explanation
    If the video card cannot support the graphics in Fedora, it enters the Fallback mode. Fallback mode is a simplified mode that provides basic graphics functionality when the video card is unable to handle the full graphical interface. It allows the user to still access the system and perform necessary tasks, although with limited graphical capabilities.

    Rate this question:

  • 34. 

     There are 2 ______________ on the desktop one at the top and one at the bottom.

    • A.

      Panels

    • B.

      Menus

    • C.

      Workspace Switchers

    • D.

      Clocks

    Correct Answer
    A. Panels
    Explanation
    The question states that there are two of something on the desktop, one at the top and one at the bottom. The correct answer is "Panels" because panels are typically located at the top and bottom of the desktop interface. Panels are used to display various information, such as application launchers, system tray icons, and taskbars, making them a likely candidate for the two items mentioned in the question.

    Rate this question:

  • 35. 

    What key combination do you use to launch the Run Application window?

    • A.

      Alt + F3

    • B.

      ALT + P

    • C.

      ALT + F2

    • D.

      ALT + H

    Correct Answer
    C. ALT + F2
    Explanation
    The correct key combination to launch the Run Application window is ALT + F2.

    Rate this question:

  • 36. 

    When using the tab, space or return in the terminal you create what?

    • A.

      Folder

    • B.

      Whitespace

    • C.

      Directories

    • D.

      Nothing

    Correct Answer
    B. Whitespace
    Explanation
    When using the tab, space, or return in the terminal, you create whitespace. Whitespace refers to any empty space, including tabs, spaces, and line breaks, that is used to separate elements or improve readability in programming code or terminal outputs. In this context, using the tab, space, or return keys in the terminal creates empty spaces that do not have any specific functionality but help organize and format the displayed information.

    Rate this question:

  • 37. 

     What command list the names of files?

    • A.

      Cat

    • B.

      Ls

    • C.

      Rm

    • D.

      Hostname

    Correct Answer
    B. Ls
    Explanation
    The "ls" command is used to list the names of files in a directory. It displays the file names in the current directory in a vertical list format. This command is commonly used in command line interfaces to quickly view the files present in a directory without opening a file explorer or graphical interface.

    Rate this question:

  • 38. 

    What command allows you to read the contents of a file

    • A.

      Cat

    • B.

      Rm

    • C.

      Ls

    • D.

      Hostname

    Correct Answer
    A. Cat
    Explanation
    The command "cat" allows you to read the contents of a file. It is short for "concatenate" and is commonly used to display the contents of a file on the terminal. By using the "cat" command followed by the file name, the contents of the file are printed on the screen.

    Rate this question:

  • 39. 

    What command removes a file?

    • A.

      Ls

    • B.

      Rm

    • C.

      Cat

    • D.

      Hostname

    Correct Answer
    B. Rm
    Explanation
    The command "rm" is used to remove or delete a file in a Unix or Linux operating system. It stands for "remove" and is followed by the name of the file that needs to be deleted. This command permanently deletes the file and it cannot be recovered. Therefore, "rm" is the correct answer for the question.

    Rate this question:

  • 40. 

    What command allows you to see the name of the system you are using?

    • A.

      Hostname

    • B.

      Ls

    • C.

      Cat

    • D.

      Rm

    Correct Answer
    A. Hostname
    Explanation
    The command "hostname" allows you to see the name of the system you are using. This command retrieves and displays the hostname of the current system.

    Rate this question:

  • 41. 

     Fedora 15 introduced _____________________?

    • A.

      Gnome 4.5

    • B.

      Gnome 3

    • C.

      Gnome 2

    • D.

      Gnome 78

    Correct Answer
    B. Gnome 3
    Explanation
    Fedora 15 introduced Gnome 3 as the default desktop environment. This means that Gnome 3 was included in the release of Fedora 15 and users who upgraded or installed this version of Fedora would have Gnome 3 as their default interface.

    Rate this question:

  • 42. 

    What are the top and bottom of your desktop called?

    • A.

      Top and Bottom

    • B.

      Windows

    • C.

      Panels

    • D.

      DVD

    Correct Answer
    C. Panels
    Explanation
    The top and bottom of your desktop are called panels. Panels are horizontal bars that are typically located at the top and bottom of the screen in a graphical user interface. They contain various tools, icons, and menus that allow users to access and control different functions and applications on their computer.

    Rate this question:

  • 43. 

    What else can you use to run a program?

    • A.

      CTRL - F1

    • B.

      ALT - F2

    • C.

      Tab - 7

    • D.

      Caps - F9

    Correct Answer
    B. ALT - F2
    Explanation
    You can use the ALT - F2 combination to run a program. This keyboard shortcut is commonly used in many operating systems to open a command prompt or a run dialog box, where you can type the name of the program you want to run. Pressing ALT - F2 allows you to quickly access and execute programs without having to navigate through menus or use the mouse.

    Rate this question:

  • 44. 

     How do you log out?

    • A.

      Click the live system user and click log out

    • B.

      Click log out

    • C.

      Push the power button on the tower

    • D.

      Smash the screen

    Correct Answer
    A. Click the live system user and click log out
    Explanation
    The correct answer is to click the live system user and then click log out. This is the most common and standard way to log out of a system or application. By clicking on the live system user, it indicates that the user is currently logged in, and clicking on log out will safely end the session and log the user out of the system.

    Rate this question:

  • 45. 

    Where is the clock Applet located?

    • A.

      Bottom left corner

    • B.

      Middle of the screen

    • C.

      Underneath the background

    • D.

      Middle of the top panel

    Correct Answer
    D. Middle of the top panel
    Explanation
    The clock Applet is located in the middle of the top panel.

    Rate this question:

  • 46. 

     What command shows the contents of a file?

    • A.

      Dn

    • B.

      Pan

    • C.

      Cat

    • D.

      Man

    Correct Answer
    C. Cat
    Explanation
    The "cat" command is used to display the contents of a file. It is a commonly used command in Unix-like operating systems. By typing "cat" followed by the file name, the command will display the entire contents of the file on the terminal. This command is useful for quickly viewing the content of a file without opening it in an editor.

    Rate this question:

  • 47. 

    What command deletes a file?

    • A.

      Tv

    • B.

      Rm

    • C.

      Dw

    • D.

      Qr

    Correct Answer
    B. Rm
    Explanation
    The correct answer is "Rm". The "Rm" command is used to delete or remove a file in various operating systems, including Unix and Linux. It stands for "remove" and is followed by the name of the file that needs to be deleted. This command permanently deletes the file and it cannot be recovered.

    Rate this question:

  • 48. 

    What command displays the system name?

    • A.

      Filename

    • B.

      Buckram

    • C.

      Hostname

    • D.

      Systemname

    Correct Answer
    C. Hostname
    Explanation
    The correct answer is "Hostname" because the hostname command is used to display the system name.

    Rate this question:

  • 49. 

    What command copies a file?

    • A.

      Dd

    • B.

      Dy

    • C.

      Cp

    • D.

      Copy

    Correct Answer
    C. Cp
    Explanation
    The command "cp" is used to copy files in a Unix or Linux operating system. It creates a duplicate of the specified file, allowing it to be saved with a different name or in a different location. The "dd" command is used for low-level copying and manipulation of data, while "dy" and "copy" are not valid commands for file copying.

    Rate this question:

  • 50. 

    Command to display the end of a file?

    • A.

      Tail

    • B.

      End

    • C.

      Last

    • D.

      Exit

    Correct Answer
    A. Tail
    Explanation
    The command "Tail" is used to display the end of a file. It is commonly used to view the last few lines of a file, making it useful for monitoring log files or checking the latest entries in a text file.

    Rate this question:

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.