promotion image of download ymail app
Promoted
Anonymous
Anonymous asked in 教育與參考考試 · 1 decade ago

請問一些linux的題目

小弟最近想去考LPI認證的101,因此想問一些題目,

雖然有些對大大們都蠻簡單的,不過只想確定正確的答案,謝謝^^

1.Which of the following commands could be used to detect the kind of USB

controler of your computer? Choose the best answer.

(A) getusbinfo

(B) usbinfo

(C) usb-info

(D) usb_info

(E) lspci

2.How can you describe the function of the following commands?

foo | tee bar | foobar Choose the best answer.

(A) The command foo redirects its output to the command tee. After that the command bar redirects its output to the command foobar

(B) The command foo writes its output to the file tee; the command bar writes its output to the file foobar

(C) The command foo redirects its output to the command tee which writes it into the file bar and sends the same further to the command foobar

(D) The command foobar gets its input from the command bar which gets its input from the command foo

(E) This isn't a valid commandline

3.While monitoring the integrity of the filesystems, you detect, that there

are no more free inodes left on the /home partition although there are many

megabytes free space. What could be the reason? Choose the best answer.

(A)This is a typical filesystem error on ext2 partitions.

(B) A user has created lots of very small files.

(C) The inode table is corrupted.

(D) There are lots of cross-linked files.

(E) The report of many megabytes free space is wrong due to an overflow of the 32 Bit Free-Space-Variable.

4.In what file do you configure which partitions should be mounted on bootup?

(give the whole path and filename)

Update:

5.In the directory /home/foo exists a file named bar which is a symbolic link

to /etc/services. If you would copy the link to /tmp using the command

cp -d /home/foo/bar /tmp

what would happen? Choose the best answer.

Update 2:

(A)The destination /tmp/bar is a symbolic link to /home/foo/bar

(B)The destination /tmp/bar is a symbolic link to /etc/services

(C)The destination /tmp/bar is a regular file with the same content as /etc/services

Update 3:

(D)The cp command would ask you whether to create a link or a file

(E)Nothing. The cp-command is not made for copying links.

Update 4:

6.For which directories could you use use an own partition?

(A) /boot

(B) /proc

(C) /tmp

(D) /home

(E) /bin

Update 5:

7.Most linux systems offer a display manager runlevel. What statement about

this runlevel is true? Choose the best answer.

(A)X11 can be started using startx in this runlevel

(B)X11 can be started using xinit in this runlevel

Update 6:

(C)X11 is started automaticly for user root

(D)X11 is started automaticly an offers a login window

(E) This runlevel has nothing to do with X11

Update 7:

8.You want to run a x-application on the computer foo but it should display on

the screen of computer bar. What parameter for the application is needed to

realize this? Choose the best answer.

Update 8:

(A)--display=bar

(B) -display:bar:0

(C) -display bar

(D) -display bar:0

(E) -display=bar:0

Update 9:

9.You are working with vi, writing a textfile. Being in command mode, you want

to move the cursor 7 characters left. What command could you use?

(A) 7l

(B) 7L

(C) l7

(D) 7h

(E) 7[212

總共9題,請各位大大們幫幫忙^^

Update 10:

補充一下

第6題是複選題Choose every correct answer.

不過看來看去好像也只有那一個答案

複選題也可以只選一個嗎?

1 Answer

Rating
  • 1 decade ago
    Favorite Answer

    1.(E)

    2.(E) (沒看過foo或foobar這種指令...假設有我才選C)

    3.(B)

    4./etc/fstab

    5.(B)

    6.(D)

    7.(A)

    僅供參考

    2006-10-14 22:56:08 補充:

    8.(D)9.(D)僅供參考

    Source(s):
    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.