Documente Academic
Documente Profesional
Documente Cultură
. As root, what command would you type to initiate a password change for user “lanka”?
A. passwd lanka
B. password lanka
C. user lanka
. What option is used with the useradd command to specify the user's user id?
A. -u
B. -s
C. -ui
D. –id
. What file does init processes use as its control file?
A. /etc/inittab
B. /etc/proc
C. /etc/init
D. /etc/initproc
. What option is used with the useradd command to specify the user's login shell?
A. -s
B. -l
C. -u
D. –sh
. 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 s hell?
A. -u
B. -s
C. -ui
D. –id