
Linux 1 -- Commands -- Chapter 1 & 2
Authored by Sandy Thomaschek
Computers
12th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Match the command to the correct description.
whoami
display the current logged in user
clear
display information about a command
history
display a message
type
erase the terminal
echo
display previously entered commands
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a command built into the shell?
internal
external
current
present
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which directories do external commands typically reside in? (choose 3)
/bin
/usr/bin
/usr/local/bin
/etc/passwd
/home
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command will provide a list of options for the ls command?
ls --help
ls -help
ls -?
ls --?
5.
MATCH QUESTION
1 min • 1 pt
Match the command to the correct description.
ls -a
list of directories
ls
list of diretories including hidden files
current directory
list of directories in reverse order
ls -r
list of directories with detailed information
ls -l
pwd
6.
MATCH QUESTION
1 min • 1 pt
Match the command to the correct description.
cd . .
switch to the home directory of the current user
mkdir
creates a directory
cd ~
moves up one level
rmdir
switch between the current and the previous directory
cd -
deletes an empty directory
7.
MATCH QUESTION
1 min • 1 pt
Match the command to the correct description.
mv
creates an empty file or updates the timestamp on a current file
touch
deletes a file
rm
moves or renames files or directories
cp
copies a single file or directory to another location
rm -r
removes a directory and its contents
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?