作者 主題: 請教幾題  (閱讀 5857 次)

0 會員 與 1 訪客 正在閱讀本文。

aaronosos

  • 懷疑的國中生
  • **
  • 文章數: 43
    • 檢視個人資料
請教幾題
« 於: 2005-03-17 21:58 »
What is a X-client
A:a computer which uses the X11 Protocol to communicate
B:a computer which uses a super-computer to run applications which       are displayed on the local screen
C:a program which is dispayed on a graphical screen of an X Server
D:a computer which offers displaying on its screen
E:a computer with a graphical user interface using X11

AN:C??

What would the following command search for?
find . -size 25k
A:All files inside the current directory, which are bigger than 25 KBytes
B:All files inside the current directory, which are smaller than 25 KBytes
C:All files inside the current directory and all included subdirectories, which are bigger than 25 KBytes
D:All files inside the current directory and all included subdirectories, which are smaller than 25 KBytes
E:All files inside the current directory and all included subdirectories, which are exactly 25 KBytes big

AN:D??

User Bertha is member of different groups. How could you ensure, that
her default group is foobar?
A:Add the line "chgrp foobar" inside her startup script
B:Ensure that the groupname foobar is the first entry in her /etc/group line
C:Ensure that the GID of foobar is placed in her /etc/passwd entry
D:Ensure that the GID of foobar is the lowest GID of all her GIDs
E:Ensure that the GID of foobar is the highest GID of all her GIDs

AN:B???

How could you try to stop a hung process which refuses to accept keyboard input?
A:Ctrl-C
B:Ctrl-S
C:kill -9 PID
D:kill PID
E:ipcsend SIGKILL PID

AN:A,C,D??

You want to install a RPM packet file foobar.rpm on a debian system. What command would you use to convert the rpm-file into debian deb format?
A:alien --to-deb foobar.rpm
B:rpmtodeb foobar.rpm
C:rpm2deb foobar.rpm
D:pcktconv --to-deb foobar.rpm
E:pcktconv -o foobar.deb foobar.rpm

Which directory contains the essential commands needed on bootup?
A:/usr/bin
B:/bin
C:/etc
D:/boot
E:/lib

In the directory /home/foo exists a file named bar which is a symbolic link to the file foobar in the same directory, created with the command
ln -s foobar bar If you would copy the link to /tmp using the command
cp -d /home/foo/bar /tmp what would happen?
A:The destination /tmp/bar is a symbolic link to /tmp/foobar
B:The destination /tmp/bar is a symbolic link to /home/foo/foobar
C:The destination /tmp/bar is a regular file with the same content as /home/foo/foobar
D:The destination /tmp/bar is a hardlink using the same inode as /home/foo/foobar
E:The destination /tmp/bar is a hardlink using the same inode as /home/foo/bar

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17465
    • 檢視個人資料
    • http://www.study-area.org
請教幾題
« 回覆 #1 於: 2005-03-17 22:52 »
C
E
C
C
A
D
A

city7271

  • 可愛的小學生
  • *
  • 文章數: 3
    • 檢視個人資料
請教幾題
« 回覆 #2 於: 2005-07-10 10:31 »
這些問題問的蠻DETAIL低...
不過我認為最後依提應該是B才對..
因為它是將軟連結CP到/tmp下並應用-d參數複製符號連結並指向原目標..
so....是B沒錯...
這題樓上的老兄害我想了很久為什麼它的答案是A...
我還以為我有問題...

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17465
    • 檢視個人資料
    • http://www.study-area.org
請教幾題
« 回覆 #3 於: 2005-07-10 11:32 »
啊... 你是說最後一題嗎?

你說得對, 應是 B ... (奇怪, 我怎麼回答 A 呢??)  ^_^