FactorPad
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

Beginner

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.

Video

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.


#1

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

$ file .bash_history

#2

How do you leave the less pager in one keystroke?

$ q

#3

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

$ exit

#4

How do you show a description of the touch command?

$ whatis touch

#5

How do you show the current full weekday name?

$ date +%A


#6

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

$ ls -l

#7

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

$ man which

#8

How do you print directory permissions and details?

$ ls -l

#9

How do you print last Monday's date?

$ date -d "last Monday"

#10

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

$ type ls


#11

How do you erase the terminal screen?

$ clear

#12

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

$ whereis -m cat

#13

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

$ ls -og

#14

How do you close the current terminal session?

$ exit

#15

How do you print "hello" tabbed one time?

$ echo -e "\thello"


#16

How do you move to the directory of user files?

$ cd /home

#17

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

$ nano +20 file1.txt

#18

How do you show shell built-in commands?

$ bash -c help

#19

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

$ man bash

#20

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

$ cat file1.txt file2.txt


#21

How do you find multiple locations of the nano command?

$ which -a nano

#22

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

$ touch -d yesterday file1.txt

#23

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

$ man date

#24

How do you find help on built-in commands?

$ man bash

#25

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.