自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

講解Linux基礎命令之:man、reboot

系統(tǒng) Linux
本文主要講解了linux基礎命令中的man與reboot應用,man是用來排版并顯示線上求助手冊,man命令中的-r.-h.-H等多個參數的概念,執(zhí)行reboot指令可讓系統(tǒng)停止運作,并重新開機。

經過長時間學習Linux基本命令,man與reboot命令還是比較常用的,于是我研究了一下man與reboot應用,在這里拿出來和大家分享一下,希望對大家有用。

Linux基本命令:
who查看當前user
ps aux (我經常多一個‘-’,有一行錯誤信息)
netstat (具體man or info to CC)
shutdown reboot關機命令
shutdown語法:
/sbin/shutdown[-t秒][-arkhncfF時間][警告信息]
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 Requeststhatthesystembe 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 Onlysendoutthe warning messages and disable logins, do not actually bring the system down.

eg:
shutdown -h now/0
shutdown -h 10:00 /*10點關機
shutdown -h +1010mins后關機
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相同,關機之前輸入回填指令:
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)

【編輯推薦】

  1. linux磁盤命令管理優(yōu)勢特點之:df命令全面解析
  2. linux磁盤管理命令之:du命令詳解
  3. Linux壓縮打包方法連載之六:cpio 命令
  4. Linux壓縮打包方法連載之五:dd命令
  5. Linux壓縮打包方法連載之四:compress 命令
責任編輯:薛輩輩 來源: Vlan9
相關推薦

2011-08-23 15:14:35

reboot中文man

2009-10-22 10:50:47

linux磁盤管理命令

2009-10-22 15:27:20

linux磁盤配額

2010-06-28 14:51:25

FTP協議命令

2010-03-11 13:52:02

Linux MAN

2010-03-18 16:51:32

2009-10-28 18:35:10

Linux基礎用戶

2009-12-03 10:07:55

Linuxman命令使用技巧

2009-10-19 17:10:37

Linux文件命令

2009-12-14 11:29:19

Linux查看命令

2010-01-15 19:37:36

Linux命令

2017-06-05 11:03:07

Linuxshutdown命令

2009-10-27 09:26:26

linux系統(tǒng)監(jiān)控命令

2018-04-16 10:12:46

Linux命令gunzip

2009-12-21 11:22:37

Linux網絡操作命令

2009-12-24 17:04:18

nohup命令

2009-12-25 14:30:05

Linux Vi命令

2010-03-05 15:20:25

Linux man命令

2009-10-27 17:10:05

Linux安全模塊

2014-08-11 09:45:33

Linux小技巧
點贊
收藏

51CTO技術棧公眾號