No | 内容 | command | OS | 例 | 備考 |
---|---|---|---|---|---|
1-1 | OS停止 | # sleep 10 ; shutdown -h now | mac | # sleep 10 ; shutdown -h now Shutdown NOW! *** FINAL System shutdown message from nari@gvis-mac.intra.gavann-it.com *** System going down IMMEDIATELY System shutdown time has arrived # | 10秒後にOS停止 |
1-2 | OS停止 | # sleep 10 ; shutdown -h now | linux | # sleep 10 ; shutdown -h now | 10秒後にOS停止 |
1-3 | OS停止 | shutdown /f /s /t 10 | windows-dos | C:\Users\nari>shutdown /f /s /t 10 C:\Users\nari>shutdown /a C:\Users\nari> | 10秒後にOS停止 “shutdown /a”でキャンセル |
1-4 | OS停止 | shutdown /f /s /t 10 | windows-ps | PS C:\Users\nari> shutdown /f /s /t 10 PS C:\Users\nari> shutdown /a PS C:\Users\nari> | 10秒後にOS停止 “shutdown /a”でキャンセル |
— | —- | ——- | —- | —- | —- |
2-1 | OS再起動 | # sleep 10 ; shutdown -r now | mac | # sleep 10 ; shutdown -r now Shutdown NOW! *** FINAL System shutdown message from nari@gvis-mac.intra.gavann-it.com *** System going down IMMEDIATELY System shutdown time has arrived # | 10秒後にOS再起動 |
2-2 | OS再起動 | # sleep 10 ; shutdown -r now | linux | # sleep 10 ; shutdown -r now | 10秒後にOS再起動 |
2-3 | OS再起動 | shutdown /f /r /t 10 | windows-dos | C:\Users\nari>shutdown /f /r /t 10 C:\Users\nari>shutdown /a C:\Users\nari> | 10秒後にOS再起動 “shutdown /a”でキャンセル |
2-4 | OS再起動 | shutdown /r /t 10 | windows-ps | PS C:\Users\nari> shutdown /f /r /t 10 PS C:\Users\nari> shutdown /a PS C:\Users\nari> | 10秒後にOS再起動 “shutdown /a”でキャンセル |
コマンドライン一覧(その他系)
