作者 主題: 還有幾題LPI 101 問題請教...謝謝!!  (閱讀 8574 次)

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

cchiyu

  • 可愛的小學生
  • *
  • 文章數: 6
    • 檢視個人資料
還有幾題LPI 101 問題請教...謝謝!!
« 於: 2005-03-15 13:57 »
1.You have just upgraded your PC to a 60 gigabyte IDE drive.While partitioning the drive,you notice that only 32 gigabytes are available.Which of the following will most likely allow you to use the entire drive?

a.Create two smaller partitions of 30 gigabytes each.
b.Set the PC BIOS to use LBA mode.
c.Create a partition that resides entirely below the first 1024 cylinders.
d.Use GRUB or the latest version of LILO as a bootloader.
e.Upgrade he PC BIOS to the latest version available.

2.You want to limit the amount of disk space ordinary user can have to 5MB per user in /usr/spool/mail and 10MB per user in /home,using quota.What steps do you need to take when partitioning the hard drive?

a.Make a partition for /var/spool/mail and another one for /home.
b.Use qfdisk instead of disk to create the partitions and activate quotas.
c.No special steps are required. /var/spool/mail and /home can be part of the / partiton.
d.Make one partition for both /home,then later on add a symlink for /var/spool/mail that points to that partition.
e.Use fdisk to make partition for /var/spool/mail and /home,then use the "u" option to tum on per-user quotas.

3.Which of the following commands would display the lines containing capital letters from the file "turkey.txt"?

A.cat turkey.txt|wc -|
B.grep -n [A-Z] turkey.txt
C.cat turkey.txt|wc -w[A-Z]
D.grep -v [A-Z]<turkey.txt
E.for [A-Z] in turkey.txt | count

4.To send input to both stdout AND a file,you ues the _______ command.
答案是: tee 嗎?

5.You want to search the file myfile for all occurances of string containing at least five characters,where character number 2 and 5 are 'a' and character number 3 is NOT 'b'.Which command would you use?

a.grep a*^b*a myfile
b.grep .a[^b].a myfile
c.grep .[a].*.[a] myfile
d.grep .a*^b..a myfile

答案是: b 嗎?

6.You have just set up the Gnome Display Manager as your default display manager.What file should you edit to change the default greeting for it?

A./etc/X11/prefdm
B./etc/X11/XF86Config
C./etc/X11/gdm.conf
D./etc/X11/gdm/lnit/Default
答案是: C 嗎?

Pail

  • 俺是博士!
  • *****
  • 文章數: 1040
  • 性別: 男
    • 檢視個人資料
還有幾題LPI 101 問題請教...謝謝!!
« 回覆 #1 於: 2005-03-15 14:23 »
試著回答...有錯再來學習:D
1. b,e ??
2. a
3. a
4. tee
5. b
Pail Luo.
Email: pail.luo@gmail.com

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17465
    • 檢視個人資料
    • http://www.study-area.org
還有幾題LPI 101 問題請教...謝謝!!
« 回覆 #2 於: 2005-03-15 14:56 »
e
a
b
tee
b
c

harrier

  • 榮譽博士
  • 俺是博士!
  • *****
  • 文章數: 1856
  • 性別: 男
    • 檢視個人資料
    • 國屬武裝兵
Re: 還有幾題LPI 101 問題請教...謝謝!!
« 回覆 #3 於: 2005-03-15 15:09 »
引述: "cchiyu"
1.You have just upgraded your PC to a 60 gigabyte IDE drive.While partitioning the drive,you notice that only 32 gigabytes are available.Which of the following will most likely allow you to use the entire drive?


居然能出到這麼冷門的題目...   ~:Q

http://www.pcguide.com/ref/hdd/bios/sizeGB315-c.html
這是和 BIOS 有關的

http://www.pcguide.com/ref/hdd/bios/sizeGB30-c.html
這是和 Win95 有關的

簡直像 PC 考試..not only Linux...   :O
...90Net(90:1200/1203),GameNET(99:700/707),ALLNet(92:9200/3111),InfoNet(30:100/103)..MaximusCBCS(浮懷),AirNet,TenderNet,StormNet,FidoNet...
<<- www.nas.vg ->>

netman

  • 管理員
  • 俺是博士!
  • *****
  • 文章數: 17465
    • 檢視個人資料
    • http://www.study-area.org
還有幾題LPI 101 問題請教...謝謝!!
« 回覆 #4 於: 2005-03-15 16:34 »
嗯, LPI 會考不少 hardware 知識.
比方問 intel 的 usb chipset 是 ohci 還是 uhci 這類的...

phantom

  • SA 苦力組
  • 俺是博士!
  • *****
  • 文章數: 2185
    • 檢視個人資料
Re: 還有幾題LPI 101 問題請教...謝謝!!
« 回覆 #5 於: 2005-03-15 16:59 »
引述: "harrier"
引述: "cchiyu"
1.You have just upgraded your PC to a 60 gigabyte IDE drive.While partitioning the drive,you notice that only 32 gigabytes are available.Which of the following will most likely allow you to use the entire drive?


居然能出到這麼冷門的題目...   ~:Q

http://www.pcguide.com/ref/hdd/bios/sizeGB315-c.html
這是和 BIOS 有關的

http://www.pcguide.com/ref/hdd/bios/sizeGB30-c.html
這是和 Win95 有關的

簡直像 PC 考試..not only Linux...   :O


可是... Linux 不太 care BIOS, 不是嗎?
我有一些舊電腦. 沒辦法過 32G 的 limit. 所以, 大於 32G 的硬碟不能用來開機, 也不能讓 BIOS 去抓它... 不然連 BIOS 都過不了...

重點是, 只要不是用來開機, 不讓 BIOS 看到, 進到 Linux 就可以用了...

所以這題的答案是... 用 Linux 就可以了...  :lol:
Linux 非萬能, 沒 Linux 萬萬不能.
root = God
apt-get install ultimate-horsepower