Build a Better Process

Linux Quiz 1c Covering clear, cd, whoami, which and type Commands

This is the third 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-1c.html

An ad-free and cookie-free website.

Linux Command Line Quiz | 1c


Below find a quiz that covers 6 1/2 minutes on the YouTube video, or if you prefer to take your time on the 25 questions stay here.


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

Linux Command Line Quiz Game for Beginners | 1c (6:27)

The Quiz

Click the box to see the answer. You'll master basic Linux commands in no time.

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


How do you find out what type of file .bash_history is?

$ file .bash_history


How do you leave the less pager in one keystroke?

$ q


How do you leave a second bash session opened with bash?

$ exit


How do you show a description of the touch command?

$ whatis touch


How do you show the current full weekday name?

$ date +%A


How do you show permissions and details of files in a directory?

$ ls -l


How do you look up online help for the which command?

$ man which


How do you print directory permissions and details?

$ ls -l


How do you print last Monday's date?

$ date -d "last Monday"


How do you find out if the ls command is an alias?

$ type ls


How do you erase the terminal screen?

$ clear


How do you find locations of manuals for the cat command?

$ whereis -m cat


How do you list files without showing owner and group info?

$ ls -og


How do you close the current terminal session?

$ exit


How do you print "hello" tabbed one time?

$ echo -e "\thello"


How do you move to the directory of user files?

$ cd /home


How do you open file1.txt in nano at line 20?

$ nano +20 file1.txt


How do you show shell built-in commands?

$ bash -c help


How do you find help on the built-in version of pwd?

$ man bash


How do you combine file1.txt and file2.txt and print to the screen?

$ cat file1.txt file2.txt


How do you find multiple locations of the nano command?

$ which -a nano


How do you change the file1.txt modify date to yesterday?

$ touch -d yesterday file1.txt


How do you show a user guide for the non-shell program date?

$ man date


How do you find help on built-in commands?

$ man bash


How do you find out if bash is a bash built-in?

$ type bash

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?

If you like what we're up to, please show your support by subscribing, following, contributing and joining. Every bit helps.

Outline Back Tip Next

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

linux quiz
game quiz
linux basic commands
video tutorials
linux command line quiz
bash command quiz
clear command quiz
cd command quiz
whoami command quiz
which command quiz
type command quiz

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