WorksheetsLinux Practice Quiz 1
Total questions: 12
Worksheet time: 5mins
What does CLI stand for?
Core Line Interface
Command Line Interface
Core Learning Interface
Command Learning Interface
Which of the following commands can be used to display network configuration information?
netconfig
pwd
ifconfig
net
Which of the following commands will return only lines that end with test?
grep ‘test$’ file.txt
grep ‘$test’ file.txt
grep ‘test^’ file.txt
grep ‘^test’ file.txt
Which of the following sets has the group permissions highlighted?
rw-rw-r--
rw-rw-r--
rw-rw-r--
rw-rw-r--
The ~ (tilde) character is used to represent:
Nothing, it doesn’t have a special meaning
The current directory
The directory above the current directory
A user’s home directory
Which of the following is not an example of a relative path?
Documents
/home
Documents/Work
home/sysadmin/Documents/School/Art
Which command will print your current location in the filesystem?
pwd
pd
pcl
cd
The .. (double period) characters are used to represent:
The current directory
Nothing, it doesn’t have a special
The directory above the current directory
A user’s home directory
The first character in a long listing ls -l indicates:
Hard Link Count
File Size
Permissions
File Type
Which option to the ls will sort the output by file size?
-S
-z
-r
-s
When entering a command, do arguments or options typically come first?
Options
Arguments
Which of the following is not a correct way to combine options?
-l -r
-r l
-lr
-rl
