logged in as user linux1, but now you want to switch users to linux2 with linux's environment. How would you do this? A. su linux2 B. su -e linux2 C. su - linux2 D. su -m linux2 E. su -f linux2 | BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀU HÀNH LINUX- TRƯỜNG CD CÔNG NGỆ THÔNG TIN Chuyên ngành Công nghệ phần mềm Năm học 2010-2011 logged in as user linuxl but now you want to switch users to linux2 with linux s environment. How would you do this A. su linux2 B. su -e linux2 C. su - linux2 D. su -m linux2 E. su -f linux2 Answer C had a contractor come into your company. You originally set his account to expire after thirty days. You now need to change this. How can you do this A. usermod -e B. usermod -a C. usermod -x D. usermod -d Answer A want a user s account to expire in ten days. What option used with the useradd command will allow you to do this A. -e B. -u C. -d D. -t Answer A are adding a new user. You want to create the user s home directory only if the directory does not exist. Which of the following would accomplish this A. useradd -m B. useradd -h -y C. useradd -u D. useradd -h Answer A option is used with the useradd command to specify the user s home directory A. -d B. -h C. -u D. -a Answer A 189. What command would execute cmdl followed by cmd2 regardless of the exit status of cmd1 A. cmd1 cmd2 B. cmd1 cmd2 C. cmd1 cmd2 D. cmd1 cmd2 E. cmd1 cmd2 Answer C 190. You want to run three commands one after the other but don t care what exit they had. What command line would do this A. cmd1 cmd2 cmd3 B. cmd1 cmd2 cmd3 C. cmd1 cmd2 cmd3 D. cmd1 cmd2 cmd3 Answer D 191. What symbol can be placed at the end of a line to indicate that the command continues on the next line A. B. C. D. E.