Build a Better Process
Linux Quiz 1b Covering exit, less, cat, date and bash Commands
This is the second quiz with a video set to relaxing music.
Study - Review the first 20 commands in the Linux
Essentials YouTube Playlist, or 20 web pages found here.
Quiz - Watch the video and see how many answers you
Next - When you're ready to move on to the next Quiz
Published: November 28, 2016
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.
An ad-free and cookie-free website.
Linux Command Line Quiz | 1b
In video, this quiz takes 6 1/2 minutes or you can take as long as
you like here. This text-based quiz covers the same
Videos can also be accessed from the
Linux Essentials Playlist on YouTube.
Linux Command Line Quiz for Beginners | 1b (6:27)
Click the box to find the answer.
You may need to upgrade from Internet Explorer to use this functionality.
How do you make an alias lst with date/time and a
$ alias lst='date; ls'
How do you change to one directory above the
$ cd ..
How do you open the .bashrc file using a basic
$ nano .bashrc
How do you find all locations of the non-shell
built-ins cat and touch?
$ which -a cat touch
How do you print a short command summary for
$ whatis echo
How do you scroll up one page in the
How do you display a single word description of
$ type -a file1.txt
How do you determine if a file called report.sh is
$ file report.sh
How do you view file1.txt with line numbers in a
$ less -N file1.txt
How do you find the locations and man page for the
$ whereis touch
How do you find the location of the non-shell
built-in command nano?
$ which nano
How do you send file1.txt to standard output with
$ cat -n file1.txt
How do you update file1.txt timestamp to
$ touch --date="yesterday" file1.txt
How do you find simplified help on the non-shell
$ date --help
How do you determine if the alias command is a
$ type alias
How do you find the location(s) of the less
$ type -a less
How do you print a list of details on non-hidden
$ ls -l
How do you show all files and details in a
$ ls -al
How do you display the variable
$ echo $x
How do you redirect ls output to a file called
$ ls > file1.txt
How do you logout and close the
How do you print file1.txt to standard output
without a pager?
$ cat file1.txt
How do you display tomorrow's
$ date --date="tomorrow"
How do you find the manual page for the shell
built-in called alias?
$ man bash
How do you pause a process using a
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:
If you haven't tried the quizzes on the YouTube Channel, you may find them
more challenging and rewarding.
- For all Linux Essentials content including other quizzes, click Outline
- To see the overview of Linux Essentials, hit back.
- Making clever comments here like those on a tip jar make me thirsty. Click Tip.
- For the third quiz, click Next.
linux exam questions
bash exit quiz
pwd linux quiz
less command quiz
cat command quiz
date command quiz
bash command quiz
A newly-updated free resource. Connect and refer a friend today.