2013年5月10日 星期五

Note about OSX

環境: 2013 MBPR 15" - OS X 10.8.3 (Mountain Lion)

SSH遠端連線
$ ssh user@hostname

找套件(pkg)
$ pkgutil --pkgs | grep pkg_name

更改截圖類型、預設名稱及存放路徑
$ defaults write com.apple.screencapture type jpg   # jpg
$ defaults write com.apple.screencapture type png   # png
$ defaults write com.apple.screencapture name "Snapshot"   # 預設檔名含中文,改為英文
$ defaults write com.apple.screencapture location Full_Path   # 存放路徑
$ killall SystemUIServer   #清除系統設定暫存

啟動 Apache Web Server, 啟動後在瀏覽器輸入http://localhost可看到"It Works!"字樣
$sudo apachectl start
$sudo apachectl stop
.

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。