作者 主題: LNA pre-test 討論討論^_^  (閱讀 5665 次)

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

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 於: 2004-12-20 23:57 »
Which command listed below will show you the file type of every regular file in the current directory and every directory below?
a. file *
b. type *
c. find . -type f -exec file {} \;
d. fiind . -priint -type {}\;

my answer is c

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #1 於: 2004-12-21 00:18 »
which kind of link can cross file system bundaries?
a. hard
b. symboic

my answer is b

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #2 於: 2004-12-21 00:33 »
rm does not dellete a file until:
a.there are no remaining symbolic liinks pointiing to the file
b.you empty the lost+found folder
c. the /tmp partition needs to recover space
d. the last hard link is rmoved

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #3 於: 2004-12-21 00:45 »
which of the folllowing best describes the fork mechanism in the Linux kernil?
a. it devides the branches of the file system into mount points
b. it creates a child process by duplicating  the parent process's attributes and giving this child a new process ID
c. it replaces the current process in memory by calling a new program to be
executed in its place
d. it configures the boot sector on a dual-boot system

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #4 於: 2004-12-21 00:54 »
which command allows shell programmers to handle incoming signals?
a. kill
b. HUP
c. trap
d. stty

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #5 於: 2004-12-21 01:36 »
the shell programming command "shift" is used to do what?

my answer is move the positional varables form $2 into $1 and so on

  • 可愛的小學生
  • *
  • 文章數: 7
    • 檢視個人資料
LNA pre-test 討論討論^_^
« 回覆 #6 於: 2004-12-22 01:27 »
with what Distributed File System, should UID's be coordinated across all
platforms?
a . FTP
b.  NFS
c.  SMB
d.  ext2


猜猜囉...