想請教一下各位先進,能否討論一下101幾題問題呢??

想考 Linux 認證嗎?或是有任何 Linux 考試心得要分享?趕快進來吧

版主: 小狐狸

想請教一下各位先進,能否討論一下101幾題問題呢??

文章cgs8853220 » 週三 3月 22, 2006 1:14 am

1.where can lilo place its boot information?

A.我想應該是/var,因為/var存有開機時的訊息檔案,如有誤,麻煩幫我訂正,感謝您。


2.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

A.我覺得這各題目,真的很奇怪,依照他的題目,因為他可以懸吊process,且又可拒絕
keyboard input,我找不我覺得能有符合他的題意的訊號,因看A選項(終止,就直接over)
,C選項(KILL,強制結束),D選項(結束掉程序),剩下唯一的希望就只剩ctrl-S,但我用
上機試了一下,她好像可以暫停程序,但在隨意案一鍵,他又回復動作,所以想請問各位大大
是我哪裡有觀念錯誤嗎??如有誤,麻煩幫我訂正,謝謝您!


3.When a user executes the command "ps ax", what is shown on the console? Choose
all that apply.

a. Process's user-related information
b. Processes without controlling terminals
c. Processes used by the XFree86 System
d. All regular processes
e. Processes on remote machines

A.因為ax的所包含的是,顯示屬於終端機與非終端機控制的行程,所以應該是a、d,如有誤,
麻煩幫我訂正,感謝您!


4.What command is used to reconfigure a formerly installed debian packet.
Enter just the name without path and options.

A.因為目前101已經包含(RPM+DEB),所以都需要準備,因為debian方面的套件,我比較不熟
,所以想確定是否是dpkg,如有誤請幫我指正,感謝您!


5.什麼情況下需要用到lilo指令呢?
Choose every correct answer.
Mark question for review

a.After every boot
b.After every modification of the lilo configuration file
c.After installing a new kernel with a new name in /boot
d.After overwriting the old kernel in /boot with a new one
e.Only the first time after installing LILO

A.應該是b、c跟d吧!



6.You have run out of disk space on a partition. Which of the following would be
an easy way to move data to new partition without reconfiguring the path to the
data in existing applications?

a. Run ext2fs ACL.
b. Use a hard link.
c. Use a symbolic link.
d. Use the loopback device.
e. Create a block device offset.

A.這題的話,我就比較不清楚了,能否請大大指教一下??

7.Where can lilo place boot code?

a. The boot ROM
b. The boot RAM
c. The /boot partition
d. The MBR on a hard drive

A.應該是/boot partition吧!因為很多開機資料都是存放在這裡的,
像是boot.b、message、map、initrd、vmlinuz.....
如果有錯誤,麻煩請大大指正,非常感謝您!


8.You are the administrator for all desktop systems at your company. You do not have a
desktop standard and the users are free to use any window manager they choose. Which
of the following methods would be easiest to add a menu item to all users' main menu?

a. There is no easy solution to this problem.
b. Use rsync to synchronize all menus with a central setter.
c. Write a script that adds the menu item and have users run it.
d. Add the changes to the/etc/default/main-menu configuration file.
d. Use your package manager to upgrade all the packages at once.

A.這裡好像不簡單耶!能否請大大指教一下,感謝您!
cgs8853220
可愛的小學生
可愛的小學生
 
文章: 4
註冊時間: 週三 3月 22, 2006 1:12 am

Re: 想請教一下各位先進,能否討論一下101幾題問題呢??

文章willie0220 » 週三 3月 22, 2006 10:42 pm

cgs8853220 寫:1.where can lilo place its boot information?

A.我想應該是/var,因為/var存有開機時的訊息檔案,如有誤,麻煩幫我訂正,感謝您。

/etc/lilo.conf?所以答案是/etc/

cgs8853220 寫:2.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

A.我覺得這各題目,真的很奇怪,依照他的題目,因為他可以懸吊process,且又可拒絕
keyboard input,我找不我覺得能有符合他的題意的訊號,因看A選項(終止,就直接over)
,C選項(KILL,強制結束),D選項(結束掉程序),剩下唯一的希望就只剩ctrl-S,但我用
上機試了一下,她好像可以暫停程序,但在隨意案一鍵,他又回復動作,所以想請問各位大大
是我哪裡有觀念錯誤嗎??如有誤,麻煩幫我訂正,謝謝您!

答案是b,^S是送出STOP訊號,也就是kill -19
cgs8853220 寫:3.When a user executes the command "ps ax", what is shown on the console? Choose
all that apply.

a. Process's user-related information
b. Processes without controlling terminals
c. Processes used by the XFree86 System
d. All regular processes
e. Processes on remote machines

A.因為ax的所包含的是,顯示屬於終端機與非終端機控制的行程,所以應該是a、d,如有誤,
麻煩幫我訂正,感謝您!

4.What command is used to reconfigure a formerly installed debian packet.
Enter just the name without path and options.

A.因為目前101已經包含(RPM+DEB),所以都需要準備,因為debian方面的套件,我比較不熟
,所以想確定是否是dpkg,如有誤請幫我指正,感謝您!

dpkg-reconfigure
cgs8853220 寫:5.什麼情況下需要用到lilo指令呢?
Choose every correct answer.
Mark question for review

a.After every boot
b.After every modification of the lilo configuration file
c.After installing a new kernel with a new name in /boot
d.After overwriting the old kernel in /boot with a new one
e.Only the first time after installing LILO

A.應該是b、c跟d吧!

我覺得是bc

cgs8853220 寫:6.You have run out of disk space on a partition. Which of the following would be
an easy way to move data to new partition without reconfiguring the path to the
data in existing applications?

a. Run ext2fs ACL.
b. Use a hard link.
c. Use a symbolic link.
d. Use the loopback device.
e. Create a block device offset.

A.這題的話,我就比較不清楚了,能否請大大指教一下??

c,就是把資料搬過去後,原先的路徑用symbolic 指向到新位置
cgs8853220 寫:7.Where can lilo place boot code?

a. The boot ROM
b. The boot RAM
c. The /boot partition
d. The MBR on a hard drive

A.應該是/boot partition吧!因為很多開機資料都是存放在這裡的,
像是boot.b、message、map、initrd、vmlinuz.....
如果有錯誤,麻煩請大大指正,非常感謝您!

d

cgs8853220 寫:8.You are the administrator for all desktop systems at your company. You do not have a
desktop standard and the users are free to use any window manager they choose. Which
of the following methods would be easiest to add a menu item to all users' main menu?

a. There is no easy solution to this problem.
b. Use rsync to synchronize all menus with a central setter.
c. Write a script that adds the menu item and have users run it.
d. Add the changes to the/etc/default/main-menu configuration file.
d. Use your package manager to upgrade all the packages at once.

A.這裡好像不簡單耶!能否請大大指教一下,感謝您!

這如果是我會選b吧...但不知道是不是對的
willie0220
可愛的小學生
可愛的小學生
 
文章: 70
註冊時間: 週二 1月 13, 2004 9:04 pm

文章cgs8853220 » 週四 3月 23, 2006 12:41 pm

在這裡非常謝謝willie0220的提供答案跟意見!
真的非常感謝您悠~
cgs8853220
可愛的小學生
可愛的小學生
 
文章: 4
註冊時間: 週三 3月 22, 2006 1:12 am

Re:想請教一下各位先進,能否討論一下101幾題問題呢??

文章訪客 » 週四 3月 23, 2006 12:42 pm

willie0220 寫:
cgs8853220 寫:1.where can lilo place its boot information?

A.我想應該是/var,因為/var存有開機時的訊息檔案,如有誤,麻煩幫我訂正,感謝您。

/etc/lilo.conf?所以答案是/etc/

再請問一下:題目不是說,lilo開機訊息在哪裡嗎?我記的應該是在/var/log/messages,不是嗎?而/etc/lilo.conf應該只是他的組態檔不是嗎?? :y2_14:

cgs8853220 寫:2.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

A.我覺得這各題目,真的很奇怪,依照他的題目,因為他可以懸吊process,且又可拒絕
keyboard input,我找不我覺得能有符合他的題意的訊號,因看A選項(終止,就直接over)
,C選項(KILL,強制結束),D選項(結束掉程序),剩下唯一的希望就只剩ctrl-S,但我用
上機試了一下,她好像可以暫停程序,但在隨意案一鍵,他又回復動作,所以想請問各位大大
是我哪裡有觀念錯誤嗎??如有誤,麻煩幫我訂正,謝謝您!

答案是b,^S是送出STOP訊號,也就是kill -19

不好意思,請教一下ctrl-s=SIGTERM嗎?好像不太一樣耶~
kill -l9它所發出的訊號應該是SIGTERM,而此訊號是命令程序結束,但ctrl-s好像只是暫停,它是可以繼續被執行,所以說我覺得好像是題目出的有問題??:y2_14:



cgs8853220 寫:3.When a user executes the command "ps ax", what is shown on the console? Choose
all that apply.

a. Process's user-related information
b. Processes without controlling terminals
c. Processes used by the XFree86 System
d. All regular processes
e. Processes on remote machines

A.因為ax的所包含的是,顯示屬於終端機與非終端機控制的行程,所以應該是a、d,如有誤,
麻煩幫我訂正,感謝您!

4.What command is used to reconfigure a formerly installed debian packet.
Enter just the name without path and options.

A.因為目前101已經包含(RPM+DEB),所以都需要準備,因為debian方面的套件,我比較不熟
,所以想確定是否是dpkg,如有誤請幫我指正,感謝您!

dpkg-reconfigure

對耶~應該是這樣命令才對~
真的非常感謝您的回覆~~ :finger1:


cgs8853220 寫:5.什麼情況下需要用到lilo指令呢?
Choose every correct answer.
Mark question for review

a.After every boot
b.After every modification of the lilo configuration file
c.After installing a new kernel with a new name in /boot
d.After overwriting the old kernel in /boot with a new one
e.Only the first time after installing LILO

A.應該是b、c跟d吧!

我覺得是bc

大概有知道的是,只要有修改或是重新編譯核心時,都會需要重新執行lilo,這樣在開機的時候,LILO才能抓到kernel,使kernel能正確載入memory,應該是這樣,不過我覺得覆寫跟安裝新核心的狀況,好像也差不多,所以我才選ABC.如有誤,請幫忙指正,感謝您!

cgs8853220 寫:6.You have run out of disk space on a partition. Which of the following would be
an easy way to move data to new partition without reconfiguring the path to the
data in existing applications?

a. Run ext2fs ACL.
b. Use a hard link.
c. Use a symbolic link.
d. Use the loopback device.
e. Create a block device offset.

A.這題的話,我就比較不清楚了,能否請大大指教一下??

c,就是把資料搬過去後,原先的路徑用symbolic 指向到新位置
cgs8853220 寫:7.Where can lilo place boot code?

a. The boot ROM
b. The boot RAM
c. The /boot partition
d. The MBR on a hard drive

A.應該是/boot partition吧!因為很多開機資料都是存放在這裡的,
像是boot.b、message、map、initrd、vmlinuz.....
如果有錯誤,麻煩請大大指正,非常感謝您!

d

能否請大大說明一下呢?感謝您!!

cgs8853220 寫:8.You are the administrator for all desktop systems at your company. You do not have a
desktop standard and the users are free to use any window manager they choose. Which
of the following methods would be easiest to add a menu item to all users' main menu?

a. There is no easy solution to this problem.
b. Use rsync to synchronize all menus with a central setter.
c. Write a script that adds the menu item and have users run it.
d. Add the changes to the/etc/default/main-menu configuration file.
d. Use your package manager to upgrade all the packages at once.

A.這裡好像不簡單耶!能否請大大指教一下,感謝您!

這如果是我會選b吧...但不知道是不是對的
訪客
 

Re:想請教一下各位先進,能否討論一下101幾題問題呢??

文章willie0220 » 週四 3月 23, 2006 2:19 pm

cgs8853220 寫:再請問一下:題目不是說,lilo開機訊息在哪裡嗎?我記的應該是在/var/log/messages,不是嗎?而/etc/lilo.conf應該只是他的組態檔不是嗎?? :y2_14:

這題老實說題意我看不太懂,
所謂boot information到底是指boot的設定值還是開機訊息?
題意有點模糊...

cgs8853220 寫:不好意思,請教一下ctrl-s=SIGTERM嗎?好像不太一樣耶~
kill -l9它所發出的訊號應該是SIGTERM,而此訊號是命令程序結束,但ctrl-s好像只是暫停,它是可以繼續被執行,所以說我覺得好像是題目出的有問題??:y2_14:


sorry這題題目看太快...
送出SIGSTOP應該是^Z
可是沒這選項,所以...= =
真的要選一個我會選^C吧

cgs8853220 寫:能否請大大說明一下呢?感謝您!!

開機碼本來就是放在硬碟的MBR或是分割區的superblock


另外,我的答案僅供參考,不見得是對的:)
[
willie0220
可愛的小學生
可愛的小學生
 
文章: 70
註冊時間: 週二 1月 13, 2004 9:04 pm

文章cgs8853220 » 週四 3月 23, 2006 10:37 pm

to:willie0220大大
在沒有人回覆的同時,真的好高興能再看見您的回覆喔~ :crying: (喜極而泣),希望以後還能多多給予指教唷~ :ooops:
再次感謝您~
cgs8853220
可愛的小學生
可愛的小學生
 
文章: 4
註冊時間: 週三 3月 22, 2006 1:12 am

文章企鵝狂 » 週五 3月 24, 2006 11:12 am

boot information 不是開機時候那些訊息吧
應該是說lilo畫面的資料
我覺得應該是MBR...
/etc/只是lilo.conf習慣放那裡..也不是一定
/var/log根本不是lilo管得?
http://news.bbc.co.uk/1/hi/world/asia-pacific/country_profiles/1285915.stm


Country profile: Taiwan
Map of Taiwan
Taiwan is the island which has for all practical purposes been independent for half a century, but which China regards as a rebel region that must be reunited with the mainland - by force if necessary.
企鵝狂
活潑的高中生
活潑的高中生
 
文章: 477
註冊時間: 週三 3月 31, 2004 11:13 am
來自: 台灣共和國

文章willie0220 » 週五 3月 24, 2006 12:06 pm

To: cgs88553220
不客氣,也希望你平常沒事也可以上來發表囉,不要只是問考題啦:D

To企鵝狂
你這麼一說倒有點道理,也許答案應該是MBR?
willie0220
可愛的小學生
可愛的小學生
 
文章: 70
註冊時間: 週二 1月 13, 2004 9:04 pm

文章cgs8853220 » 週五 3月 24, 2006 6:32 pm

to:willie0220大大
好的~好會多多和大家來討論的,也避免僅陷入考試的迷思,
且討論也算是學習的樂趣之一呦!

to:企鵝狂大大
聽您一言,我真的錯了,真的是真他沒什麼關係!非常感謝您的指正!
嗯嗯~那應該是在mbr嚕!
cgs8853220
可愛的小學生
可愛的小學生
 
文章: 4
註冊時間: 週三 3月 22, 2006 1:12 am


回到 Linux 認證討論區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客