The following is the output of the command 'ps -t tty1', which one is the parent process of the zombie process.UID PID PPID C STIME TTY TIME CMDA root 2258 2199 0 10:09 tty1 00:00:00 -bashB root 2339 2258 0 10:13 tty1 00:00:00 ./zombC root 2340 2339 0 10:13 tty1 00:00:00 [zomb]
A root 2258 2199 0 10:09 tty1 00:00:00 -bash
B root 2339 2258 0 10:13 tty1 00:00:00 ./zomb
C root 2340 2339 0 10:13 tty1 00:00:00 [zomb]
D. none of the above
查看答案
The correct combined commands for finding function "func" in all the .c file under the directory "/usr/src" is
A. find /usr/src –name *.c –print|xargs grep “func(”
B. find /usr/src –path *.c –print|xargs grep “func(”
C. find /usr/src –name *.c –print|grep “func(”
D. find /usr/src –path *.c –print|grep “func(”
The directory structure of the Linux file system is an upside-down tree, with files placed in related directories. If there is an external device file, in which directory one should place.
A. /bin
B. /etc
C. /dev
D. /lib
The combined command "ls - l | grep -v '^d'" means:
A. Display all directory files in a long list in the current directory.
B. Display all files in a long list in the current directory except directory files.
C. Display all files in a long list in the current directory
Display all device files in a long list in the current directory.
The command to copy all files under directory 'abc' (including subdirectories) to the directory '/usr/xyz' is
A. cp –r abc /usr/xyz
B. cp –f abc /usr/xyz
C. cp –y abc /usr/xyz
D. cp –p abc /usr/xyz