DCOM 142 Intro to Linux Midterm Exam ACTUAL UPDATED QUESTIONS AND
CORRECT ANSWERS
Which of the following commands displays the user grep -e dblair /etc/group
groups that dblair is member of?
members dblair
which group dblair
grep -e dblair /etc/group
find /etc/group -name dblair
Which of the following commands will move a file from move, mv
one location to another?
copy -r
move
cp -d
mv
, Which of the following commands is used to find a find, locate
specific file on a Linux?
(Select TWO. Each answer represents an independent
solution.)
find
which
locate
whereis
type
One of the job of the kernel is to: Manage the system's resources
Manage the system's resources
Turn source code into machine code
Load the operating system after the computer is turned
on
Transfer mail from one machine to another
A user with an account name larry has just been userdel -r larry
terminated from the company. There is good reason to
believe that the user will attempt to access and damage
files in your system in very near future.
Which command below will disable or remove the user
account from the system and remove his home directory?
userdel larry
userdel -h larry
userdel -home larry
userdel -r larry
CORRECT ANSWERS
Which of the following commands displays the user grep -e dblair /etc/group
groups that dblair is member of?
members dblair
which group dblair
grep -e dblair /etc/group
find /etc/group -name dblair
Which of the following commands will move a file from move, mv
one location to another?
copy -r
move
cp -d
mv
, Which of the following commands is used to find a find, locate
specific file on a Linux?
(Select TWO. Each answer represents an independent
solution.)
find
which
locate
whereis
type
One of the job of the kernel is to: Manage the system's resources
Manage the system's resources
Turn source code into machine code
Load the operating system after the computer is turned
on
Transfer mail from one machine to another
A user with an account name larry has just been userdel -r larry
terminated from the company. There is good reason to
believe that the user will attempt to access and damage
files in your system in very near future.
Which command below will disable or remove the user
account from the system and remove his home directory?
userdel larry
userdel -h larry
userdel -home larry
userdel -r larry