WorksheetsLinux Test Prep 1
Total questions: 25
Worksheet time: 13mins
What command outputs the content of a file?
c
tac
cd
line
What command changes directory?
(a)
What command changes file mode?
change
chmod
mod
cmod
What command changes ownership?
own
chown
ChOWN
change
What command will copy?
cp
copy
Copy
CPP
With the command for copy, what option will force or will overwrite any existing files with the same name?
copy - f
copy- chage
copy - k
copy - r
With the command for copy, what option is recursive?
- r
- P
- R
- CR
What command will manipulate data by columns?
man
column
cut
cutt
what command will look up IP addresses and DNS names?
stop
IP
dig
dnsdig
What command shows environmental variables for current users?
env
Euser
environ
Environment
What command terminates all current processes, including shell?
exit
stop
term
terminate
What command locates files in system?
(a)
This command is used to find out information regarding a user.
user
whouser
finger
whoareyou
This command reports on system memory.
free
system
mem
sysmem
This command will search for a string.
grep
string
search
SS
What command will add a group?
groupadd
addgroup
group
newgroup
Under add group command, what option will create a system group?
- r
- p
- g
With the add group command what option will give a password?
- p
- pass
- pwd
What command modified a group?
groupmod
modify
mod
modgroup
What command outputs the first ten lines of a file?
ten
line
head
start
What command shuts down operating system?
halt
opsys
stop
shut
What command outputs user and group IDs for a user?
id
identify
user
who
Under the id command, what option will show only UID
- u
- show
- UID
- ID
Using the id command, what option will show all groups to which a user belongs?
- G
-g
-show
- group
What is the command for returns all documentation containing the defined command?
apropos
cat
aprosp
apopros
