<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > Linux基本命令

Linux基本命令

作者: 時(shí)間:2016-09-12 來(lái)源:網(wǎng)絡(luò ) 收藏

忘了不少東西,無(wú)奈寫(xiě)個(gè)Blog Backup:

本文引用地址:http://dyxdggzs.com/article/201609/303449.htm

Linux基本命令:

who查看當前user

ps aux (我經(jīng)常多一個(gè)‘-’,有一行錯誤信息)

netstat (具體man or info to CC)

shutdown reboot關(guān)機命令

shutdown語(yǔ)法:

/sbin/shutdown[-t秒][-arkhncfF時(shí)間][警告信息]

eg:

/sbin/shutdown -h 10 'Server will be shutdowned after 10 mins'

man下的參數:

OPTIONS

-r Requests that the system be rebooted after it has been brought down.

-h Requests that the system be either halted or powered off after it has

been brought down, with the choice as to which left up to the system.

-H Requests that the system be halted after it has been brought down.

-P Requests that the system be powered off after it has been brought down.

-c Cancels a running shutdown. TIME is not specified with this option, the

first argument is MESSAGE.

-k Only send out the warning messages and disable logins, do not actually

bring the system down.

eg:

shutdown -h now/0

shutdown -h 10:00 /*10點(diǎn)關(guān)機

shutdown -h +10 10mins后關(guān)機

shutdown -r now (reboot at once)

shutdown -r +30 'System will reboot in 30mins'

shutdown -k 'System will reboot'(發(fā)送警告信息)

reboot命令

shutdown -r now幾乎與reboot相同,關(guān)機之前輸入回填指令:

sync;sync;sync;reboot

fsck - check and repair a Linux file system

fsck /dev/hda7:

To clear the wrong disk block of /dev/hda7 (單人單機模式root)



關(guān)鍵詞:

評論


相關(guān)推薦

技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>