单项选择题

What is the output when the following shell script executes?()  
cat<;<;foobar  
Hello foobar  
foobar

A. The contents of the file foobar.
B. Hello
C. No output but a file named foobar is created.
D. Hello foobar
E. Hello foobar foobar


您可能感兴趣的试卷

你可能感兴趣的试题

2.单项选择题You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?()

A. You need to rebuild the kernel.
B. You need to upgrade the kernel
C. You need to load the USB modules for your existing modular kernel.
D. USB support is not available in Linux.

3.单项选择题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

4.单项选择题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.

5.单项选择题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.

6.单项选择题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

7.单项选择题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

最新试题

Given the following output:  prompt> myapp  [1]+ Stopped myapp  prompt>  Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?()

题型:单项选择题

To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option need to be added to the corresponding line in /etc/fstab?()

题型:单项选择题

Which of these commands allows you to use shared libraries that are in /usr/local/lib?()

题型:单项选择题

What does the Filesystem Hierarchy Standard enable? ()

题型:多项选择题

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 command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()

题型:单项选择题

Which Debian package system command will list all partially installed packages and suggest how to get them correctly installed?()

题型:单项选择题

Which command (without options) would you use to display how much space is available on all mounted partitions?()

题型:填空题

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?()

题型:单项选择题

Which system administration command you can use to update Id.so.cache after the installation of new shared libraries?()

题型:单项选择题