Build a Better Process

Linux Quiz 1d Covering bash, ls, whereis, echo and touch Commands

This is the fourth 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-1d.html

An ad-free and cookie-free website.

Linux Command Line Quiz | 1d


Quizzes come in two flavors: YouTube video and text below. The video lasts 6 1/2 minutes. It's set to relaxing and focus-inspiring music. The text-based quiz has the same 25 questions but you can go at your own pace. If you enjoy it, please tell a friend.


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

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

The Quiz

To get the quiz answer, just click the box. Easy.

You may need to upgrade from Internet Explorer to see the answer.


How do you send file1.txt to the screen without using a pager?

$ cat file1.txt


How do you print "hello" after one carriage return?

$ echo -e "\nhello"


How do you list all aliases in the current session?

$ alias


How do you list all files and details sorted by time modified?

$ ls -alt


How do you print the date of tomorow using the short option?

$ date -d tomorrow


How do you find out if the bash program is executable?

$ file /bin/bash


How do you find reserved words used by bash?

$ man bash


How do you clear text from the current window?

$ clear


How do you use the non-built-in version of pwd?

$ /bin/pwd


How do you print a description of the whatis command?

$ whatis whatis


How do you view the briefest help on the man command?

$ man --usage


How do you point to a non-shell built-in version of echo help?

$ /bin/echo --help


How do you find out if the type command is a shell built-in?

$ type type


How do you print semi-hidden files in a directory?

$ ls -a


How do you change the current working directory to /etc?

$ cd /etc


How do you logout of the current session?

$ exit


How do you find your login name without using id?

$ whoami


How do you show the current day of the month?

$ date +%d


How do you change access date on file1.txt to yesterday?

$ touch -a yesterday file1.txt


How do you show details including date modified on directory listings?

$ ls -l


How do you open file1.txt in nano read-only mode?

$ nano -v file1.txt


How do you review help with less in one keystroke?

$ h


How do you find the man page location for whoami?

$ whereis -m whoami


How do you see the path searched by the which command?

$ echo $PATH


How do you list all locations of the which command?

$ which -a which

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?

Don't lose this valuable ad-free learning resource, subscribe and follow today.

Outline Back Tip Next

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

linux online test
quick quiz on Linux
whereis command quiz
linux ls quiz
science trivia
bash command quiz
linux command line quiz
ls command quiz
whereis command quiz
echo command quiz
touch command quiz

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