網站首頁 學習教育 IT科技 金融知識 旅遊規劃 生活小知識 家鄉美食 養生小知識 健身運動 美容百科 遊戲知識 綜合知識
當前位置:趣知科普吧 > IT科技 > 

setconsole命令詳解|linux

欄目: IT科技 / 發佈於: / 人氣:9.75K

1、setconsole命令簡介:

setconsole命令用於設定系統終端,可用來指定系統終端。

2、語法:

setconsole命令

3、參數:

serial:使用PROM終端。

ttya,cua0或ttyS0:使用第1個串口設備作爲終端。

ttyb,cua1或ttyS1:使用第2個串口設備作爲終端。

video:使用主機上的現卡作爲終端。

舉例:

設定終端

# setconsole ttyS0

linux setconsole命令詳解