FactorPad
Tutorials for Faster Learning

~/ home  / technology  / linux essentials  / quiz 1c

Linux Quiz 1c covering clear, cd, whoami, which, type and...

This is our third quiz and you can find it set to mellow music in the video if that's your thing. There the pace is quick, so make sure you've studied commands 1-20 from the tutorials.

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. This is unique content so if you have fun and learn something, stick around for another quiz. They're free.

Video and quiz by Paul Alan Davis, CFA, December 5, 2016
Updated: August 1, 2017

Linux Command Line Quiz | 1c

Video

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

Videos can also be accessed from the YouTube Playlist.

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:

Linux Essentials Home


What's Next?

If you like what we're up to, please support us by subscribing to our YouTube Channel here. Every bit helps.

  • Click Outline to see all content including other quizzes
  • Click Back for Linux Essentials
  • Click Next to take another Quiz

Outline Back Next

~/ home  / technology  / linux essentials  / quiz 1c



 
 
Keywords:
Linux quiz
quiz game
learn Linux
linux clear screen
online quiz