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 | 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 68. You 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 69. Which of the following can be used to switch your system to run level 1 A. init 1 B. inittab 1 C. rlevel 1 D. level 1 Answer A run level represents administration mode A. 0 B. 1 C. 6 D. 5 Answer B 71. What file does init processes use as its control file A. etc inittab B. etc proc C. etc init D. etc initproc Answer A 72. Which of the following commands can be used to create a tar archive file in verbose mode A. tar -v B. tar -cvf C. tar -c D. tar -vf Answer B 73. What option is used with the useradd command to specify the user s login shell A. -s B. -l C. -u D. -sh Answer A 74. Which of the following can be used to change a user s home directory A. usermod -d B. usermod -h C. usermod -u D. usermod -c Answer A 75. Which of the following commands can be used to extract a tar file A. tar -vf B. tar -xvf C. tar -e D. tar -v Answer B 76. You 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 77. What command can be used to find the current run level A. .