Font size
WorksheetsLinux Review 3
Total questions: 28
Worksheet time: 15mins
What does this symbol reference?
/
directory
root directory
option
home
What will this symbol bring you back to?
~
file
home
new line
What does dmesg command display?
current messages between kernel and interface
messages from user
directory line message
What does the command echo provide?
output
repeating terms
sound
What two terms identify a loop?
for
while
if
then
What two terms identify a branch?
for
while
if
then
How many characters does this symbol replace?
?
1
2
none
Your files are these: cat.txt, bat.txt, rat.txt.
What could I used to list these files?
ls *at.txt
ls *.txt
ls ?txt
ls *.t
Files above: cap.txt, cat.txt
What files would be listed with this command?
ls ca? .txt
cap.txt, cat.txt
cat.txt
cap.txt
none
What does this symbol mean?
$
money
variable
unknown character
this is not allowed in Linux
What is the octal value for Read?
4
2
1
What is the octal value for Write?
4
2
1
What is the octal value for Execute?
4
2
1
permissions with the octal value of 654 will list the following
-rw-r-xr--
rw-r-xr-x
-rwx-rwx-r--
-rw--w-r--
What command could I used to change the permissions of a file?
chmod
change
permiss
own
The proper command syntax for Linux is:
option command argument
command option argument
Where will this take you?
cd~
home
file
list
forward one
What command can I use to wipe the terminal screen?
clear
mv
undo
delete
What option would I use to list hidden files?
ls -h
ls -a
ls -hi
ls -hid
cp
this command will do what?
copy
control permissions
create permissions
What command will list the content of a file?
cat
ls
touch
cp
What is the color of a changed file?
green
blue
Permissions will list as the following:
group, user, other
user, group, other
user, group
other, user, group
Information about the commands can be found by using what command?
Once the user completes this command, how do you exit and return to the previous terminal screen?
man ; q
man ; back
man ; return
man ; term
What command archives a file?
tar
cat
rar
var
log files?
cat
cp
var
tac
What command shows list of current applications and processes? Similar to a task manager..
top
task
list
current
What command will create an empty file?
create
touch
cat
new
