2420 - Linux

A visually appealing representation of a Linux terminal with code snippets, combined with icons representing filesystems and command-line utilities, in a vibrant and colorful design.

Ultimate Linux Quiz Challenge

Test your knowledge of Linux with this comprehensive quiz designed for enthusiasts and professionals alike! Whether you're a beginner or an experienced user, this quiz covers vital aspects of Linux, including file systems, command-line utilities, and permission management.

Join now to explore:

  • 34 thought-provoking questions
  • Diverse topics from basic to advanced levels
  • Instant feedback on your performance
34 Questions8 MinutesCreated by TypingTree983
The fstab file contains information about the filesystems the system can mount. Which directory would you find this file in on most Linux systems?
/bin
/var
/etc
/dev
In which directory will you find the "cpuinfo" file on most Linux systems
/proc
/etc
/usr
/bin
Which of the below could you use to open a file from inside a vim session? Assume the file is in the same directory where you opened vim.
:g file-name
:f file-name
:e file-name
:p file-name
Which of the below directories is an example of a "pseudo" filesystem?
/sys
/proc
/dev
All of the directories listed
None of the directories listed
Which mode do you start in when you first open vim? By default, of course you can configure this.
Replace
Normal
Visual
Insert
You can only mount one disk at a time in most Linux operating systems
True
False
Which command would you use to quit a Vim session without saving edits made since the last time you saved the file?
:q!
:qn
:q
ZZ
In vim, which command could you use to "reload" a file?
:e!
:bd
:r
Any of the above
Which directory is the starting point of the Linux file system and which character is used to represent it?
The root directory /root
Your home directory /home/user-name
You home directory /home
The root directory /
Which directory will you find binaries (the programs, utilities that we have been using like ls) in?
/proc
/dev
/usr
/etc
Using the "useradd" utility which option would you use to create a home directory for the user you are creating?
-u
-s
-p
-m
On the command line each sequence of non-blank characters is called a t...
What is the difference between > and >>?
'>' will overwrite a file '>>' will only work with error messages
'>>' will overwrite a file '>' will append to a file
'>' will overwrite a file '>>' will append to a file
There is no difference
The following command will overwrite the file every time the command is run, replacing the data with new data.
 
ls >> file
True
False
Standard error or stderr is represented by which number?
0
1
2
3
Standard input or stdin is represented by which number?
0
1
2
3
Which variable contains your path? Case is important, you aren't calling the variable.
Which shell feature can you use if you what to prevent redirects from overwriting a file? set -o ...
A variable created in your shell like the example below is available to child processes
 
VAR=10
True
False
The ~/.bashrc file is only sourced on login
True
False
Cd is a shell builtin
True
False
Which of the following would you use to search for a string inside of a man page?
|
:
Search
/
Which section of the man pages is section 8?
Configuration files
Executable programs or shell commands
Games
System administration
Which section of the man pages is section 5?
Executable programs or shell commands
System administration
Games
File formats and conventions
Which section of the man pages is section 1?
File formats and conventions
Games
Executable programs or shell commands
Miscellaneous
Which section of the man pages is section 6?
Executable programs or shell commands
Games
System administration
Configuration files
Which section of the man pages is section 7?
Miscellaneous
Games
System administration
File formats and conventions
Which command below will create the following directory structure? 'dir1/dir2'
Mkdir dir1 && dir2
Mkdir -p dir1/dir2
Mkdir dir1 | mkdir dir2
Mkdir dir1 && mkdir dir2
Select the file permission that would match after running the command below.
 
'chmod 666 file'
-rw-rw-rw-
-rwxrwxrwx
-r--r--r--
-r-xr-xr-x
That file is owned by the devil!
The three standard Linux file permission modes are:
Read, write and execute
Read, write and delete
Create, write and delete
Create, delete and change
New users generally have sudo privileges by default
True
False
Which command will change the group of the file to osamu but not change the owner?
Chown :osamu file
Chown osamu:osamu file
Chown osamu file
Chown osamu: file
Which file contains secure user account information.
/etc/passwd
/etc/shadow
/etc/gshadow
/etc/Users
Which symbolic method would result in the same file permissions as the command below in numeric method.
 
`chmod 540 file-name`
Chmod u=rx,g=r,o= file-name
Chmod u=rw,g=r,o=rwx file-name
Chmod u=wx,g=x,o=r file-name
Chmod u=wx,g=w,o=rwx file-name
{"name":"2420 - Linux", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of Linux with this comprehensive quiz designed for enthusiasts and professionals alike! Whether you're a beginner or an experienced user, this quiz covers vital aspects of Linux, including file systems, command-line utilities, and permission management.Join now to explore:34 thought-provoking questionsDiverse topics from basic to advanced levelsInstant feedback on your performance","img":"https:/images/course5.png"}
Powered by: Quiz Maker