Mac 下一些命令的使用

来源:互联网 发布:网络协议组成部分为 编辑:程序博客网 时间:2024/06/11 08:19

1. Terminal( 终端):  killall Terminal     退出终端

2. shuttingDown :

sudo shutdown -h now

3.Rebooting: 

sudo shutdown -r now
4. Sleeping:

sudo shutdown -s now
5. Using a Timed Shutdon;

sudo shutdown -r 1301011530
6. Using a Timed shutdown

restart at 3:30pm on January 1, 2013      _>    sudo shutdown -r 1301011530

after a set number of minues     _>      sudo shutdown -h +30



------------------------------------

vm_stat

查看内存使用情况 :  

参考: http://www.maclife.com/article/columns/terminal_101_properly_shutting_down_your_mac

http://www.maclife.com/article/howtos/25_top_os_x_terminal_tips

原创粉丝点击