Chinaunix首页 | 论坛 | 博客
  • 博客访问: 65162
  • 博文数量: 17
  • 博客积分: 673
  • 博客等级: 中士
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-17 16:48
文章分类

全部博文(17)

文章存档

2012年(5)

2011年(12)

分类: BSD

2011-05-05 20:50:42

记录我的Mac Os 之路:

### 让terminal with color的方法

LSCOLORS The value of this variable describes what color to use for which attribute when colors are enabled with
CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a black
b red
c green
d brown
e blue
f magenta
g cyan
h light grey
A bold black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey; looks like bright white
x default foreground or background

Note that the above are standard ANSI colors. The actual
display may differ depending on the color capabilities of
the terminal in use.

The order of the attributes are as follows:

1. directory
2. symbolic link
3. socket
4. pipe
5. executable
6. block special
7. character special
8. executable with setuid bit set
9. executable with setgid bit set
10. directory writable to others, with sticky bit
11. directory writable to others, without sticky


### citrix 在mac上的dmg;测试一切好用;速度可接受。

### list hidden file ( hidden the files set false for -bool argument)
defaults write com.apple.finder AppleShowAllFiles -bool true
KillAll Finder

### mac quick_key


### 夏天了pro的温度问题又要显现了
在mac pro上,我发觉用safari要比用firefox使得cpu的温度要低近1,20度
不知道这个发现有没有共性,真心觉得safari不错给了hotkey列表
1 Command-Option-F 激活Google搜索框
2 Option-上下箭头 网页浏览上下翻页
3 空格 翻页
4 Shift-空格 上翻页
5 Command-Click(或鼠标中键) 新标签内打开链接
6 Command-Click 书签夹 将所有书签以标签形式打开
7 Click-Hold on 前进/后退 最近访问页面名称列表
8 Option-Click-Hold on 前进/后退 最近访问页面地址列表
9 Command-Shift-D 添加到书签菜单
10 Command-Option-B 管理书签界面
11 Command-Shift-K 禁止弹出窗口
12 Command-逗号 打开Safari偏好设置
13 Command-Option-E 清除缓存
14 Command-L 跳到地址栏
15 Command-Option-W 关闭其他标签
16 Command-Shift-I 用Mail发送当前页面
17 Command-Shift-B 切换窗口上的书签栏
18 Command-Slash 切换状态栏
19 Command-Shift-反斜杠 切换工具栏
20 Command.+/Command.-/Command.0 调整字体大小
21 Command-Option-K 把页面标记成Snapback*
22 Command-Option-P 跳到标记过的Snapback
23 Command-Option-S 搜索结果Snapback
24 Command-Shift-] 选择下个标签
25 Command-Shift-[ 选择上个标签
mbp的发热集中在左上角和屏幕和键盘的衔接处。

-----------------------
强制退出进程的快捷键:
option+command+esc

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

command + c 文件之后 command option + v 就会实现文件剪切,类似mv
-----------------------
在处理文本时结尾都是个讨厌的东西。尤其在unix, os x, win之间相互转换。

To convert a MAC file called file.tex to UNIX format do

tr '\015' '\012' out_file 
但是最好还是给文本来个其他标志取文本。

阅读(1317) | 评论(0) | 转发(0) |
0

上一篇:fg和bg

下一篇:diff 常用option

给主人留下些什么吧!~~