Danh mục

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

Số trang: 20      Loại file: pdf      Dung lượng: 88.99 KB      Lượt xem: 12      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:

3.Which THREE of the following commands are used when setting up and accessing a new filesystem on the hard drive?
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_1 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-20111.What is the most popular file system choice?A. ext2B. bsdfC. jfsD. ext3Answer: A2.What steps need to be performed, to make a new disk accessible tousers? Select three.A. fdiskB. mkfsC. mountD. statE. quotaonAnswer: A, B, C3.Which THREE of the following commands are used when setting upand accessing a new filesystem on the hard drive?A. fsckB. mkfsC. mountD. fdiskE. formatAnswer: B, C D4.The command mkfs -t ext3 /dev/hdb1 -T largefile creates what size ofinode?A. 4 kilobyteB. 1 megabyteC. 2 megabyteD. 4 megabyteAnswer: B5.Which command will show the number of free and used inodes foryour systemsmounted file systems?A. du -iB. df -iC. ls -iR /D. freeinodesAnswer: B6.How many inodes are assigned to a file when it is created?A. 1B. 2C. 4D. 8Answer: A7.What command with switches will display the disk utilization for allmounted filesystems?A. dfB. vmstatC. duD. topE. freeAnswer: A8.What command with options will show the currently mountedfilesystems usage in kilobytes?A. df -kB. df -hC. du -kD. du -hE. du -sAnswer: A9.Which of the following commands will print the inode usage on eachmounted filesystem?A. du -iB. df -iC. lsfs -iD. printfs -iAnswer: B10.You need to create a symbolic link in the current users homedirectory namedCertkiller to the file /data/foobar. Choose the command that willaccomplish this.A. link . Certkiller /data/foobarB. ln /data/foobar $HOME/ CertkillerC. ln -s /data/foobar ~/ CertkillerD. file --link ./ Certkiller /data/foobarE. None of the aboveAnswer: C11.Which chown command will change the ownership to foo and thegroup to bar on a file named biglist?A. chown foo/bar biglistB. chown -u foo -g bar biglistC. chown foo:bar biglistD. chown --user foo --group bar biglistAnswer: C12.You have the following file: -rwxrwxr-x 1 foo root 0 Feb 23 07:48/bin/foo Which of the following commands will change the owner ofthe file /bin/foofrom thefoo userto the bar user without affecting group ownership?A. chown /bin/foo barB. chown bar /bin/fooC. chown bar.foo /bin/fooD. chown.foo.bar /bin/foo Answer: B13.Which of the following commands makes /bin/foo executable byeveryone but onlywritable by its owner?A. chmod 557 /bin/fooB. chmod o +rwx, a+rx /bin/fooC. chown 557 /bin/fooD. chmod 755 /bin/fooAnswer: D14.You need to alter the permissions on the directory /home/mrbill andall its contents to match the following permissions. drwxr--r-- Which ofthese commands with options and arguments will accomplish this?Choose two.A. chmod 0744 /home/mrbill -RB. chmod 744 /home/mrbill/*C. chmod -R u=rwx,g=r,o=r /home/mrbillD. chmod u+rwx,g+r,o+r /home/mrbillAnswer: A, C15.What umask will set the file permissions on a newly created file to -rw-r--r-- (644)?A. 0002B. 0022C. 0224D. 0246Answer: B16.You want the default permissions for your files to be -rw-r----- .HOWmust you set umask?A. 037B. 640C. 038D. 027Answer: A17.After creating a new file, you notice that the permissions of the newfile are -rw-rw-rw-. From this, you know that the value of the umask iswhat?A. 023B. 000C. 112D. d111E. 223Answer: B18.What are the default permissions for the Red Hat /etc/passwd file?A. 644B. 640C. 400D. 641E. 440 Answer: A19.Which of the following are required in the /etc/passwd file whencreating a user account? (Choose all that apply)A. login nameB. useridC. default groupD. password ageE. minimum password lengthAnswer: A, B, C20.Which file contains information about filesystems and theirrespective mountpoints?A. /etc/mountB. /etc/fs_mountC. /etc/fstabD. /proc/fstabAnswer: C21.Which of the following programs can be used to the find the fooprogram in the.PATH and associated man pages, but not list every filecontaining foo on the system?A. whichB. searchC. slocateD. whereE. whereisAnswer: E22.What command can be used to cause changes to the inittab file totake effect without a system reboot?A. init qB. init rC. inittab rD. inittab qAnswer: A23. Which of the following is a journaling filesystem?A. ext2 B. vfat C. minix D. ext3Answer: D24. The first ethernet card on a system is:A. eth0 B. etho0 C. eth1 D. hme0Answer: A25. You can find all of the services managed by xinetd by looking atwhich of the following file or directory?A. /etc/xinetd.d B. /etc/inetd.conf C. /etc/rc.d/init.d D./etc/xinetd.confAnswer: A26.What partition number always refers to the first logical partition?A. 0 B. 4 C. 1 D. 5Answer: D27.Which of the following files specifies information on what is NFSshared on your system?A. /etc/exports B. /etc/dfs/dfstab C. /etc/fstab D. /etc/sharetabAnswer: A28. Wha ...

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