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


您可能感兴趣的试卷

你可能感兴趣的试题

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

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

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

9.单项选择题You wish to kill a process with a PID of 123. Select the command which exiting.()

A. kill-1 123
B. kill-9 123
C. kill-15 123
D. kill-17 123

10.单项选择题Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?()

A. tr ’\r\n’ " < userlist.txt > newlist.txt
B. tr -c ’\n\r’ " < newlist.txt > userlist.txt
C. tr -d \r¯ < userlist.txt > newlist.txt
D. tr \r¯\n¯ userlist.txt newlist.txt
E. tr -s ®^M’¡®^J’ userlist.txt newlist.tx

最新试题

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

题型:填空题

Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?()

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

With Xorg 7.0, what is the name of the default font server?()

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

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

题型:单项选择题

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

题型:填空题