FactorPad
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

Beginner

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.

Video

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.


#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:


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.