FactorPad
Faster Learning Tutorials

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

Linux Quiz 1d covering bash, ls, whereis, echo, touch, and...

This is the fourth quiz for commands 1-20 in the tutorial series The video is a bit faster if you're up for a challenge. If you get 25 quiz questions correct no one can call you a Linux noob.

Beginner

Our quizzes come in two flavors: YouTube video and text below. The video lasts 6 1/2 minute video. It's also set to relaxing 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.

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

Linux Command Line Quiz | 1d

Video

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

Videos can also be accessed from the YouTube Playlist.

The Quiz

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

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


#1

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

$ cat file1.txt

#2

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

$ echo -e "\nhello"

#3

How do you list all aliases in the current session?

$ alias

#4

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

$ ls -alt

#5

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

$ date -d tomorrow


#6

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

$ file /bin/bash

#7

How do you find reserved words used by bash?

$ man bash

#8

How do you clear text from the current window?

$ clear

#9

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

$ /bin/pwd

#10

How do you print a description of the whatis command?

$ whatis whatis


#11

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

$ man --usage

#12

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

$ /bin/echo --help

#13

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

$ type type

#14

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

$ ls -a

#15

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

$ cd /etc


#16

How do you logout of the current session?

$ exit

#17

How do you find your login name without using id?

$ whoami

#18

How do you show the current day of the month?

$ date +%d

#19

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

$ touch -a yesterday file1.txt

#20

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

$ ls -l


#21

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

$ nano -v file1.txt

#22

How do you review help with less in one keystroke?

$ h

#23

How do you find the man page location for whoami?

$ whereis -m whoami

#24

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

$ echo $PATH

#25

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:

Linux Essentials Home


What's Next?

Everyone makes mistakes now and again, if you find one please reach out on our YouTube Channel. Subscribe if you'd like to get more free tutorials.

  • 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 1d



 
 
Keywords:
Linux online test
quick quiz
Linux terminal commands
test Linux
free quiz