http://mac.linsheng.me/archives/515.html
在标题栏上显示目录完整路径
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
killall Finder
在Finder中显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true
KillAll Finder
再terminal中高亮显示
在“~/.bash_profile”中加入
export CLICOLOR=1
修改terminal中的prompt
- \d – Current date
- \t – Current time
- \h – Host name
- \# – Command number
- \u – User name
- \W – Current working directory (ie: Desktop/)
- \w – Current working directory, full path (ie: /Users/Admin/Desktop)
\n Newline
\s Shell name
\\ A backslash
快捷键:Shift + Command + G 定位到想要的目录了。
注意第一层目录“应用程序”、“资源库”等用英文,如:/Applications/实用工具/
附 Finder 中其它常用目录定位快捷键:
Shift + Command + A:定位到应用程序(Applications)
Shift + Command + C:定位的计算机(Computer)
Shift + Command + D:定位到桌面(Desktop)
Shift + Command + I: 定位到 iDisk
Shift + Command + K:定位到网络(Network)
Shift + Command + T:添加当前目录到 Dock 最喜爱部分
Shift + Command + U:定位到实用工具(Utilities)
Here’s a simple but nifty trick. Say you’re navigating around in the Terminal and you would like to see the present working directory in the Finder? Just type
% open .
and the Finder will open up the folder you’re in. This works in both xterms and the Apple Terminal.
mac默认已经安装了openssh,所以只需要打开服务即可。
选择System prefrence -> sharing , 将remote connectionx 打开即可。