单项选择题Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()

A. chmod 557 /bin/foo
B. chmod o+rwx.a+rx/bin/foo
C. chown 557 /bin/foo
D. chmod 755/bin/foo


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题You ran out of space and added a eighth disk to your SCSI-1 system. When you try to start, the system no longer boots. What is most likely the cause of this problem?()

A. SCSI-1 supports only 8 devices including the adaptor.
B. SCSI-1 supports only 6 disks per adaptor.
C. There is a SCSI-ID conflict that causes that problem.
D. You forgot to set the SCSI-ID #8 for the new disk.

2.单项选择题You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?()

A. Run ext2fs ACL.
B. Use a hard link.
C. Use a symbolic link.
D. Use the loopback device.
E. Create a block device offset.

3.单项选择题What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()

A. cut -d: -f 1,3 /etc/passwd
B. chop -c 1,3 /etc/passwd
C. tac 1-3/etc/passwd
D. fmt -u /etc/passwd

4.单项选择题In xorg.conf, which section is concerned with fonts?()

A. the Fonts section
B. the Files section
C. the xfsCodes section
D. the Graphics section
E. the modeline section

8.多项选择题What does the Filesystem Hierarchy Standard enable? ()

A. software to predict the location of installed files and directories
B. software to predict the ownership and access rights to files and directories
C. users to predict the location of installed files and directories
D. users to predict how the filesystem should be formatted according to need

10.单项选择题Which of these commands allows you to use shared libraries that are in /usr/local/lib?()

A. export LD_PRELOAD=/usr/local/lib
B. export LD_LIBRARY_PATH=/usr/local/lib
C. Idconfig /usr/local/lib
D. Idd/usr/local/lib

最新试题

What information is displayed by the command cat/proc/dma?()

题型:单项选择题

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()

题型:单项选择题

You wish to kill a process with a PID of 123. Select the command which exiting.()

题型:单项选择题

You have just added a CD.ROM drive (/dev/hdd) to your system and have added it to yourfstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?()

题型:单项选择题

What application can be used in place of xhost? Please enter only the name without path. Answer:()

题型:填空题

What command with all options and/or parameter will send the signal USR1 to any executing process of  program apache2?()

题型:填空题

What does the Filesystem Hierarchy Standard enable? ()

题型:多项选择题

Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?()

题型:单项选择题

The command echo $! will produce what output?()

题型:单项选择题

You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?()

题型:单项选择题