FactorPad
Build a Better Process

Linux Quiz 1a Covering whereis, ls, alias, man and nano Commands

This is the first quiz with a video set to relaxing music.
  1. Study - Review the first 20 commands in the Linux Essentials YouTube Playlist, or 20 web pages found here.
  2. Quiz - Watch the video and see how many answers you get correct.
  3. Next - When you're ready to move on to the next Quiz click Next.
face pic by Paul Alan Davis, CFA
Updated: February 24, 2021
As with learning to code, the feedback loop is vital and here we cover the first 10 commands from Linux Essentials so you can see what you need to reinforce.

Outline Back Tip Next

/ factorpad.com / tech / linux-essentials / quiz-1a.html


An ad-free and cookie-free website.


Linux Command Line Quiz 1a

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

Videos can also be accessed from the Linux Essentials Playlist on YouTube.

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

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:


What's Next?

Our YouTube Channel and web content are growing so if you'd like to be part of the fun subscribe and follow @factorpad on Twitter for updates.

Outline Back Tip Next

/ factorpad.com / tech / linux-essentials / quiz-1a.html


linux quiz
game quiz
linux basic commands
video tutorials
bash command quiz
whereis command quiz
ls command quiz
alias command quiz
man command quiz
nano command quiz

A newly-updated free resource. Connect and refer a friend today.