The following is the output of ls -al, which one is the symbolic link file:
A. -rw------- 2 hel users 56 Sep 09 11:05 goodbye
B. drwx----- 1 hel users 1024 Sep 10 08:10 zhang
C. lrwx----- 1 hel users 2024 Sep 12 08:12 cheng->goodbye
D. -rw------- 1 hel users 56 Sep 09 11:05 hello
查看答案
The following is the output of ls -al, which one is a directory 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 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