Danh mục

Câu hỏi Ôn tập về Linux

Số trang: 35      Loại file: pdf      Dung lượng: 203.51 KB      Lượt xem: 18      Lượt tải: 0    
10.10.2023

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

Thông tin tài liệu:

1.What is the most popular file system choice? A. ext2 B. bsdf C. jfs D. ext3 Answer: A 2.What ste ps need to be pe rformed, to make a ne w disk accessible to users? Select three. A. fdisk B. mkfs C. mount D. stat E. quotaon Answer: A, B, C 3.Whic h THREE of the following comma nds are used whe n setting up and accessing a ne w filesystem on the ha rd drive? A. fsc k B. mkfs C. mount D. fdisk E. format Answer: B, C D 4.The command mkfs -t ext3 /dev/hdb1 - T la...
Nội dung trích xuất từ tài liệu:
Câu hỏi Ôn tập về Linux ÔN TẬP LINUX Ke ndy_kieu (sưu tầm) 1.What is the most popular file system choice? A. ext2 B. bsdf C . jfs D. ext3 Answer: A 2.What ste ps need to be pe rformed, to make a ne w disk accessible to users? Select three. A. fdisk B. mkfs C . mount D. stat E. quotaon Answer: A, B, C 3.Whic h THREE of the following comma nds are used whe n setting up and accessing a ne w filesystem on the ha rd drive? A. fsc k B. mkfs C . mount D. fdisk E. format Answer: B, C D 4.The command mkfs - t ext3 /dev/hdb1 - T la rgefile creates what size of inode ? A. 4 kilobyte B. 1 megabyte C . 2 megabyte D. 4 megabyte Answer: B 5.Whic h command will show the number of free and used inodes for your system's mounte d file systems? A. du - i B. df - i C . ls - iR / D. freeinodes Answer: B 6.How many inodes are assigned to a file when it is created? A. 1 B. 2 C. 4 D. 8 Answer: A 7.What command with switc hes will display the disk utilization for a ll mounte d file systems? A. df B. vmstat C . du D. top E. free Answer: A 8.What command with options will show the c urrently mounted filesystems usage in kilobytes? A. df - k B. df - h C . du - k D. du - h E. du - s Answer: A 9.Whic h of the following commands will print the inode usage on eac h mounte d filesystem? A. du - i B. df - i C . lsfs - i D. printfs - i Answer: B 10.You need to create a symbolic link in the c urrent user's home directory named C ertkiller to the file /data/foobar. Choose the command that will accomplish this. A. link . Certkille r /data/foobar B. ln /data/foobar $HOME/ C ertkiller C . ln - s /data/foobar ~/ Certkiller D. file - - link ./ Certkiller /data/foobar E. None of the above Answer: C 11.Which chown command will c hange the ownership to foo a nd the group to bar on a file named biglist? A. chown foo/bar biglist B. chown - u foo - g bar biglist C . chown foo:bar biglist D. c hown - - user foo - - group bar biglist Answer: C 12.You have the following file: - rwxrwxr- x 1 foo root 0 Feb 23 07:48 /bin/foo Which of the following commands will c hange the owne r of the file /bin/foofrom the foo userto the bar use r without affecting group ownership? A. chown /bin/foo bar B. chown bar /bin/foo C . chown bar.foo /bin/foo D. c hown.foo.bar /bin/foo Answer: B 13.Which of the following comma nds ma kes /bin/foo executa ble by everyone but only writable by its owner? A. chmod 557 /bin/foo B. chmod o +rwx, a+rx /bin/foo C . chown 557 /bin/foo D. c hmod 755 /bin/foo Answer: D 14.You need to alte r the permissions on the directory /home/mrbill a nd all it's contents to matc h the following permissions. drwxr-- r-- Whic h of these commands with options and a rguments will accomplish this? Choose two. A. chmod 0744 /home/mrbill - R B. chmod 744 /home/mrbill/* C . chmod - R u=rwx,g=r,o=r /home/mrbill D. c hmod u+rwx,g+r,o+r /home/mrbill Answer: A, C 15.What umask will set the file pe rmissions on a ne wly created file to - rw- r-- r-- (644)? A. 0002 B. 0022 C . 0224 D. 0246 Answer: B 16.You want the de fault permissions for your files to be - rw- r----- . HOW must you set umask? A. 037 B. 640 C . 038 D. 027 Answer: A 17.Afte r creating a ne w file, you notice that the permissions of the ne w file are - rw- rw- rw- . F rom this, you know that the value of the umask is what? A. 023 B. 000 C . 112 D. d111 E. 223 Answer: B 18.What are the de fault permissions for the Red Hat /etc/passwd fi le? A. 644 B. 640 C . 400 D. 641 E. 440 Answer: A 19.Which of the following are required in the /etc/passwd file when creating a user account? (C hoose all that apply) A. login name B. userid C . default group D. password age E. minimum password length Answer: A, B, C 20.Which file contains information a bout filesystems and the ir respective mount points? A. /etc/mount B. /etc/fs_mount C . /etc/fstab D. /proc/fstab Answer: C 21.Which of the following programs can be used to the find the foo program in the.PATH and associated man pages, but not list every file containing foo on the system? A. which B. search C . slocate D. whe re E. whe reis Answer: E 22.What command can be used to cause changes to the inittab file to ta ke effect without a system reboot? A. init q B. init r C . inittab r D. inittab q Answer: A 23. Whic h of the following is a journa ling filesystem? A. ext2 B. vfat C. minix D. ext3 Answer: D 24. The first ethe rnet card on a system is: A. eth0 B. etho0 C. eth1 D. hme0 Answer: A 25. You can find all of the services manage d by xinetd by looking at whic h of the following file or directory? A. /etc/xinetd.d B. /etc/inetd.conf C. /etc/rc.d/init.d D. /etc/xinetd.conf Answer: A 26.What partition number always refe rs to the first logica l pa rtition? A. 0 B. 4 C . 1 D. 5 Answer: D 27.Which of the following files specifies information on what is NF S shared on y our system? A. /etc/exports B. /etc/dfs/dfstab C. /etc/fstab D. /etc/sharetab Answer: A 28. What command could be used to find out which pac kage owns the f ile /etc/aliases? A. rpm - qf /etc/aliases B. rpm - qp /etc/aliases C. rpm - e /etc/a liases D. rpm - qil /etc/aliases Answer: A 29. Whic h of these c ommands will list PC I devices? A. lsdevices B. lspc i C. lsdev D. pcidev Answer: B 30. What command could be used to find a ll pac kages with the string 'ma il' within the pac kage name? A. find / - name '*mail*' B. rpm - qf /usr/bin/ma il C. rpm - qa | gre p ma il D. locate mail Answer: C 31. On a system with 16MB RAM, the minimum size of your swap pa rtition should be equal to how many MBs? A. 16 B. 32 C. 64 D. 100 Answer: B 32. On a ne w Linux installation, the partition mounted on where conta ins the operating system kernel? A. /boot B. /de v C. /kernel D. /bin Answer: A 33. A Linux server installation re quires how many GB of free space for a minimal installation whe re ...

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

Gợi ý tài liệu liên quan: