FactorPad
Faster Learning Tutorials

~/ home  / technology  / linux essentials  / quiz 1a

Linux Quiz 1a covering whereis, ls, alias, man, nano, and...

This is the first free quiz. The video it's set to cool music or go without the video. Your choice.

Beginner

Below find a quiz in two formats. First is a 6 1/2 minute video set to relaxing music. Second is a text-based quiz with the same 25 questions. Good luck and have fun.

Video and quiz by Paul Alan Davis, CFA, November 27, 2016
Updated: August 1, 2017

Linux Command Line Quiz | 1a

Video

Linux Command Line Quiz Game for Beginners | 1a (6:28)

Videos can also be accessed from the YouTube Playlist.

The Quiz

Click the box to reveal the answer. It's that easy.

You may need to upgrade from Internet Explorer to use this functionality.


#1

How do you find the manual page for the shell built-in called cd?

$ man bash

#2

How do you edit and save an alias across sessions?

$ nano ~/.bashrc

#3

How do you show the current working directory?

$ pwd

#4

How do you list all aliases present in the current session?

$ alias

#5

How do you list shell built-in commands?

$ bash -c help


#6

How do you find who you are logged in as?

$ whoami

#7

How do you display the PATH variable?

$ echo $PATH

#8

How do you stop multi-line input entered using the cat command?

$ Ctrl-c

#9

How do you change to the root directory?

$ cd /

#10

How do you locate the manual page for the touch command?

$ whereis -m touch


#11

How do you access reference material for the cat command?

$ man cat

#12

How do you wipe the terminal clean and start a fresh screen?

$ clear

#13

How do you access a one-line summary of bash?

$ whatis bash

#14

How do you edit and save an alias across sessions?

$ nano ~/.bashrc

#15

How do you stop a process using a shortcut?

$ Ctrl-c


#16

How do you show files in one column?

$ ls -1

#17

How do you open file1.txt for editing using a basic editor?

$ nano file1.txt

#18

How do you access reference material for a shell built-in?

$ man bash

#19

How do you find help on whereis if not using --help?

$ whereis -h

#20

How do you show tomorrow's date without the time?

$ date --date="tomorrow" +%D


#21

How do you logout and close the terminal using a shortcut?

$ ls -1

#22

How do you display Hello World on two lines?

$ echo -e "Hello\nWorld"

#23

How do you use the default pager for man pages to view file1.txt?

$ less file1.txt

#24

How do you create a new empty file called file1.txt?

$ touch file1.txt

#25

How do you find version info on the whatis command?

$ whatis --version


Learn More About The Series

For an overview of the 100 videos, the 8 quizzes, a cheat sheet, the categories and a Q&A section, visit:

Linux Essentials Home


What's Next?

Our YouTube Channel is growing so if you'd like to be part of the fun click here to subscribe.

  • Click Outline to see all content including other quizzes
  • Click Back for Linux Essentials
  • Click Next to take another Quiz

Outline Back Next

~/ home  / technology  / linux essentials  / quiz 1a



 
 
Keywords:
Linux quiz
game quiz
Linux basic commands
video tutorials
bash commands