Danh mục

BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀU HÀNH LINUX_3

Số trang: 16      Loại file: pdf      Dung lượng: 88.66 KB      Lượt xem: 13      Lượt tải: 0    
Hoai.2512

Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

122.Which two programs will allow you to change the priority of a program already running? (Choose two) A. top B. nice C. niceit D. renice E. chnice Answer: B, D
Nội dung trích xuất từ tài liệu:
BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀU HÀNH LINUX_3 BÀI TẬP TRẮC NGIỆM TIẾNG ANH MÔN HỆ ĐIỀUHÀ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-2011122.Which two programs will allow you to change the priority of aprogram already running? (Choosetwo)A. topB. niceC. niceitD. reniceE. chniceAnswer: B, D123.Which command removes all subdirectories in /tmp, regardlessof whether they are non-existent or in use?A. del /tmp/*B. m –rf /tmpC. rm –Ra /tmp/*D. rm –rf /tmp/*E. delete /tmp/*,*Answer: D124.What utility would use to remove/display columns from eachline of a file?A. pwdB. colC. cutD. tailE. extractAnswer: C125.If you set the umask to 022, by default what permissions willyour files have?A. 0220B. 0557C. 0644D. 0755Answer: C126.Which of the following commands may be used to view PCIdevices seen by the Linux kernel? (Choose two)A. less lspciB. less /dev/pciC. less /proc/pciD. less /proc/devices/pciE. lspci | lessAnswer: C, E127.You have the following file: -rwxrwxr-x 1 foo root 0 Feb 2307:48 /bin/foo Which of the following commands will change theowner of the file /bin/foo from the foo user to thebar user without affecting group ownership?A. chown /bin/foo barB. chown bar /bin/fooC. chown bar.foo /bin/fooD. chown.foo.bar /bin/fooAnswer: C128.Your machine has two working NICs with proper addresses.You want to split your network into two new subnets. What singlecommand will accomplish this?A. ifconfigB. routeC. defaultD. netstatE. None of the choicesAnswer: A129.What command will set a regular users password to forcechanging it every 60 days? Choose all that apply.A. passwd -x 60 user1B. chage -M 60 user1C. passwd +x 60 user1D. useradd -e 60 user1E. usermod -f 60 user1Answer: A, B130.Where are the default settings for the useradd command kept?A. /etc/default/useraddB. /etc/sysconfig/useradd.cfgC. /etc/.useraddD. /etc/defaults/useraddE. /etc/login.defsAnswer: A131.How can you determine who has scheduled at jobs?A. at –lB. at –qC. at –dD. atwhoAnswer: A132.You are covering for another system administrator and one ofthe users asks you to restore a file for him. You locate the correcttarfile by checking the backup log but you do not know how thedirectory structure was stored. What command can you use todetermine this?A. tar fx tarfile dirnameB. tar tvf tarfile filenameC. tar ctf tarfileD. tar tvf tarfileAnswer: D133. You need to find out which package owns a file called/etc/paper.config. Which command will answer this question?A. rpm -qf /etc/paper.config B. rpm –qa | grep /etc/paper.configC. rpm -Fq /etc/paper.config D. rpm -q /etc/paper.config E.rpm --requires /etc/paper.config134. Which of the following TCP/IP network utilities is the BESTtool to use to establish if a given IP address is reachable under thecurrent network configuration?A. ping B. finger C. route D. host135.How could you monitor the amount of free inodes on /dev/hda3?A. inode --free /dev/hda3 B. ls -i /dev/hda3C. du -i /dev/hda3 D. ** -i /dev/hda3 E. df -i /dev/hda3136. You want to install the tarball foobar.tar.bz2. What commandwould unpack the achive?A. tar x foobar.tar.bz2 B. untar foobar.tar.bz2 C. tar tzvffoobar.tar.bz2D. tar xjf foobar.tar.bz2 E. bzcat foobar.tar.bz2 | tar xf –137.You have to move the whole directory-tree /home/foo to/oldusers. What command would you use?A. move /home/foo /oldusers B. mv /home/foo /oldusers C. mv -r/home/foo /oldusersD. mv -R /home/foo /oldusers E. cp --move /home/foo /oldusers138.You want to stop the inetd process immediately. It has a processid of 15. How would you do this?A. kill -9 15 B. kill -15 9 C. kill -1 15 D. kill -3 15139. How could you display any line of text from the file foo whichstarts with an upcase letter?A. grep ^[A-Z] foo B. grep [A-Z] foo C. grep $[A-Z] foo D.grep [A-Z] foo140.You want to list the contents of the directory “directory1” withany errors going to the file “error1”. How would you do this?A. ls directory1 0>error1 B. ls directory1 2>error1C. ls directory1 >error1 D. ls directory1 1>error1141.What is the default priority that processes start with?A. 1 B. 100 C. 0 D. 10142.What would you type to mount an MS-DOS formatted floppy(without relying on /etc/fstab shortcuts)?A. mount /mnt/floppy B. mount -t msdos /mnt/floppy /dev/fd0C. mount /dev/fd0 /mnt/floppy D. mount -t vfat /dev/fd0 /mnt/floppy143. Which command creates a soft link?A. link –s B. link –soft C. ln –soft D. ln –s144. . You have a text file named mytextfile. How would you sort thelines of file in reverse alphabetical order?A. sort –a mytextfile B. sort mytextfileC. sort –r mytextfile D. sort –ra mytextfile145.Using vi, you want to save changes to the file myfile with :w!,but vi complains itcannot write to the file. Therefore, you ...

Tài liệu được xem nhiều: