OS X: 实用脚本程序(bash scripts)系列-14

显示所有服务是否开启的状态(System Preferences->Sharing)

运行logger.sh程序,




如果需要定时运行,将下面文件存放在/Library/LaunchDaemons/com.any.plist,之后
launchctl load /Library/LaunchDaemons/com.any.com.plist

launchctl start com.any.com.plist:




Tony Liu, July 2011





Tony Liu - Http://cs.lth.se/kontakt/peter_moller/script/loggersh/Tony Liu - http://cs.lth.se/kontakt/peter_moller/script/


你可能感兴趣的:(script)