题目内容

The following is the output of ls -al, which one is a hard link file:

A. -rw------- 1 hel users 56 Sep 09 11:05 hello
B. -rw------- 2 hel users 56 Sep 09 11:05 goodbye
C. drwx----- 1 hel users 1024 Sep 10 08:10 zhang
D. lrwx----- 1 hel users 2024 Sep 12 08:12 cheng->goodbye

查看答案
更多问题

The following is the output of command ‘ps –t tty1', which one is 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. B and C

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

答案查题题库