作者 主題: 幾個小問題  (閱讀 3728 次)

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

Anonymous

  • 訪客
幾個小問題
« 於: 2004-09-11 23:48 »
1.What syslog.conf facility represents login processes?
A. proc
B. login
C. user
D. auth

2.What syslog.conf facility represents httpd processes?
A. http
B. daemon
C. smtp
D. proc

3.To change all lower case characters in a file to upper case, pick the correct command.
A. tr 'a-z' 'A-Z' file
B. tr [a-z] [A-Z] < file
C. tr "a-z" "A-Z" file
D. tr 'a-z' 'A-Z' < file
E. tr {a-z} {A-Z} > file

4.A directory contains the following files:
#ls
ratas saran jacaw cabal cabin
You issue the command "ls | grep .a[^b]a.", what files are returned by the command? Choose all that
apply.
A. ratas
B. jacaw
C. saran
D. cabal
E. cabin

5.You have just typed the following three commands and got the following output:
prompt> echo $PATH
/usr/bin:/usr/local/bin:usr/sbin:opt/kde/bin
prompt> pwd
/home/anna/games
promt> l
game1 game2 game3
You want to run the program game1, but get the response that it is not found.
What did you forget to do?
A. To type ./game1 rather than game1.
B. To switch the directory /home/anna first.
C. To unset your PATH before running the program.
D. To set execution permissions for the program game1.

6.You have the following file:
-rwxrwxr-x 1 foo root 0 Feb 23 07:48 /bin/foo
Which of the following commands will change the owner of the file /bin/foo from the foo user to the
bar user without affecting group ownership?
A. chown /bin/foo bar
B. chown bar /bin/foo
C. chown bar.foo /bin/foo
D. chown.foo.bar /bin/foo


7.Which of the following programs can be used to the find the foo program in the PATH and associated
man pages, but not list every file containing foo on the system?
A. which
B. search
C. slocate
D. where
E. whereis

小圭

  • 憂鬱的高中生
  • ***
  • 文章數: 92
    • 檢視個人資料
    • 超好用網路行銷工具
幾個小問題
« 回覆 #1 於: 2004-09-12 01:44 »
註冊一個帳號登入一起討論吧^__^
當個藏鏡人總是怪怪地..
更多超好用網路行銷工具在這
請各位幫我在活動相片按讚哦:http://on.fb.me/1DREeVa