Professional Documents
Culture Documents
As root, what command would you type to initiate a password change for user
“lanka”?
A. passwd lanka
B. password lanka
C. user lanka
4. What option is used with the useradd command to specify the user's user id?
6. What option is used with the useradd command to specify the user's login shell?
11. You want to move all files in /dir1 to /dir2 that begin with a and end with v.
What is the correct command to do this?
A. mv /dir1/a*v /dir2
B. mv -r /dir1/a.v /dir2
C. move /dir1/a?v /dir2
D. ls a*v | cp /dir2
E. mv /dir1/[a-v] /dir2
E. ps
What command can find the program file "bar" and it's associated man pages and
any existing source files, but not return all files that have "bar" in the command
name or path?
A. whereis
B. find
C. locate
D. apropos
E. whatis
What option can be used with the shutdown command to reboot the system?
A. shutdown -r
B. shutdown -y
C. shutdown -c
D. shutdown –b
What option is used with the useradd command to specify the user's login shell?
A. -u
B. -s
C. -ui
D. –id
1. Describe the following things with Examples
a. MTA
b. LDA
c. MUA
d. Mailscanner
e.