LONGEPASS
電腦硬體裝修/工作方法/Q196
簡單
正確率 -
Q196.

在Linux 系統環境中,欲停用第一片網路卡需執行下列哪個指令?

電腦硬體裝修 · 丙級 · 工作方法 · Q196

難易度分析

2 / 5

本題屬於基礎指令操作的記憶型考題,僅需區分正確的參數名稱即可選出答案,不涉及複雜的系統設定或複合概念。

正確答案:①ifconfig eth0 down

① ifconfig eth0 down:ifconfig eth0 down 是 Linux 系統中停用網路介面的標準指令,down 參數會將指定的網路介面(eth0 代表第一片實體網路卡)設定為關閉狀態,停止其收發封包的功能。

錯誤選項解析

  • ② ifconfig eth0 abort:abort 並非 ifconfig 指令的有效參數,執行後會產生錯誤訊息。正確停用網路卡應使用 down 參數。
  • ③ ifconfig -s eth0:ifconfig -s 用於以簡短格式顯示網路介面狀態摘要,屬於查詢功能,無法停用網路卡。若要停用需使用 down 參數。
  • ④ ifconfig eth0 stop:stop 並非 ifconfig 指令的有效參數,執行後會產生錯誤訊息。正確停用網路卡應使用 down 參數。
Learning Tip

"本題考點為 ifconfig 指令的介面控制參數。常見陷阱是混淆 down(停用)與 up(啟用)的功能。需注意 eth0 代表第一片實體網路卡,eth1 為第二片,依此類推。在較新的 Linux 發行版中,ifconfig 已被 ip link set eth0 down 取代,但技能檢定仍以 ifconfig 為標準考題。實務操作時需具備 root 權限 或使用 sudo 執行。"

學員答題分佈

①ifconfig eth0 down0%
②ifconfig eth0 abort0%
③ifconfig -s eth00%
④ifconfig eth0 stop0%

此答題分佈是根據學員在 LongePass 模擬考等實際作答紀錄計算而成。與考友分享這道歷屆試題與詳細解析!

相似類型題目