Archive for July 2009


[翻译]15个Gmail提示和技巧

July 24th, 2009 — 9:10pm

15 Awesome Gmail Tips and Tricks
原文链接

Gmail是有史以来最好的电子邮件服务。这听起来有点夸张。如果你真的思考过,Gmail确实改变了我们管理邮件的方式,没有Gmail,我不能想象如何可以毫不费力的处理100封邮件。

在这篇文章中我们示范了15个Gmail提示和技巧来帮助你有效管理邮件。

1.附件提醒:从此不再忘记上传附件
“啊!我忘记在我的个人邮件里上传附件了”–我非常肯定你在回复或者发送给某个人邮件的时候发生过类似的事情。你匆匆忙忙的发送邮件却忘了传送附件。如果你正准备发送邮件给你商业合作伙伴而忘记传送附件,这看起来实在是太不专业了。

使用附件提醒可以解决这个窘境,如果你在邮件内容中包含单词“attach”,但是没有附着任何东西,你就会收到来在附件提醒的警告。打开这个功能,进行如下操作。

*
点击 设置(Settings)
*
选择 “Labs”标签
*
选中 “Forgotten Attachment Detector”的“Enable”
选项

*
点击

“保存更改”
这样就能避免发送邮件忘记上传附件了。

附件小贴士:在创建邮件之前先上传附件
你可以在写一封邮件之前先进行附件上传,这样等你差不多写完邮件的时候附件基本也上传完毕了。

你可以通过取消勾选附件文件名来删除任意附件。

附件小贴士:多个附件上传
你可以通过按住Shift或者Ctrl来选中多个附件进行上传。

2.自动转发所有邮件
如果你想转发邮件到其他账户你可以进行如下操作。
* 点击 设置(Settings)
* 选择 “Forwarding and POP/IMAP”标签
* 点击单选按钮“转发一个副本到”,并在文本框中输入你的邮件地址

你也可以决定转发之后的原始邮件操作,有三个选项
*
保存Gmail的拷贝到收件箱
*
归档Gmail的拷贝
*
删除Gmail的拷贝

现在所有邮件将会转发到你指定的邮箱。

3.通过过滤器选择性的转发邮件
如果你不想转发所有邮件,你可以创建一个过滤器
* 点击 设置(Settings)
* 选择 “Forwarding and POP/IMAP”标签
* 点击“创建一个过滤器”
* 设置过滤器,可以设置只转发某个联系人的邮件等等操作

4.使用标签
创建Labels
* 点击 设置(Settings)
* 自定义Label的名字然后点击创建(Create)
* 创建你的Labels列表

指定标签到特点邮件
* 选中一条或者多条邮件
* 拖动到你要移动到的标签上,在你拖动的时候,你会看见类似“Moving 1 Conversation”的提示。

5.使用Gmail搜索
搜索所有邮件
在Gmail搜索框中输入搜索的关键字就会搜索你账户中所有的邮件

对特定文件夹进行搜索
“Searchtext(关键字) in:foldername(文件夹)”会搜索特定的文件夹
geek in:sent
搜索已发送邮件中包含geek的邮件

搜索特定类型的邮件
在Gmail中有如下几种leixing
* 标星的(Starred ) - 比较重要的
* 未读的(Unread ) - 没有打开的邮件
* 已读(read ) - 阅读过的邮件
* 聊天(chat ) - 聊天记录

in:inbox is:starred
将搜索收件箱中和标星的邮件

使用或操作
from:ramesh OR to:ramesh after:2009/01/01
from:ramesh | to:ramesh after:2009/01/01
搜索发送者或者接收者为ramesh并且是2009/01/01之后的邮件
注意:OR必须为大写,或者使用“|”

高级搜索
* from – 指定发信人
* to – 指定收信人
* subject – 主题
* Folder – 文件夹
* 正选或者反选关键字
* 是否包含附件
* 邮件日期

6.开关搜索高亮显示
Gmail默认是打开搜索高亮显示的,如果你想取消这个设置,可以点击界面右边列表中的“Turn off Highlighting”

7.怎么在Gmail中传送一个可执行附件(.exe)
默认情况下你上传可执行文件Gmail是为给出安全提示的,Gmail是不允许这么做的。
通过以上方法可以解决这个问题:
* 重命名不包含exe的文件后缀名
* 压缩附件

如此操作变可上传你的附件了,当然邮件接收者也需要根据你的相应操作来修改文件后缀,或者对文件进行解压缩。

8.导入你的联系人名单
Gmail默认支持Yahoo,Orkut以及Outlook的联系人导入,CSV文件也是同样支持的。
* 点击“联系人”链接
* 点击“导入”标签
* 选择你要导入的CSV文件
* 点击“导入”

你也可以根据你的需要选择添加联系人组

9.发送邮件到群组
* 点击“联系人”链接
* 点击“+”图标创建一个组并对其命名
* 如此你变可添加联系人到这个新组了

当你要发送邮件到群组的时候,只需在收件人输入框中输入联系组的组名,变会自动显示列表,你可以选择进行添加发送组。

10.管理多个Gmail帐户
你或许拥有多个Gmail帐户,但是重复的登入登出并点击收件箱总是无聊的,根据下面的方法可以使你的多个帐户管理起来更容易些。
1. 登录 甲帐户@gmail.com, Settings(设置) -> Accounts (帐号)-> “Send Email As”(用这个地址发送邮件)
2. 根据提示添加 已帐户@gmail.com,并进行验证
3. 如此操作变可以在甲帐户中接收已帐户的邮件了

11.为了安全目的显示最后一次登录的信息
* 单击界面底部的“细节”

12.更换Gmail的皮肤
* 点击 设置(Settings)
* 选择“主题”标签
* 选择现有的主题或者定制主题
* 在定制主题中设置你所在的国家和城市,主题会更具当天的时间和天气而进行不同的变化

13.邮件别删了,存档着吧
自动你拥有了Gmail那巨大的容量,你更不用不着去删邮件了,你所要做的就是好好归档你的邮件吧。

14.让Gmail显示你的母语
* 点击 设置(Settings)
* 选择你希望显示的语言
* 点击”保存设置“按钮
* 刷新看看

15.随机显示你收藏的博客文章标题
* 点击 设置(Settings)
* 选择“Web Clips”标签
* 输入博客的网址
* Gmail会自动搜寻合适的RSS并显示,点击”添加“即可完成设置

Comment » | 翻译

[翻译]通过Unix命令行成为一个优秀的写作者

July 16th, 2009 — 10:31am

Become a Better Writer from Unix Command Line
原文链接

在本文中我们介绍如何利用Unix/Linux命令行来纠正单词的拼写,确认单词的解释,确认单词的反义词。

1.根据开始的某几个字符串查找单词
命令 look

$ look typogr
typograph
typographer
typographers
typographia
typographic
typographical
typographically
typographies
typographist
typography

输入“typogr”,会显示以这些字符开头的单词

译注:首次使用可能需要安装字典,Ubuntu用户可以通过新德利安装wamerican, wbritish

2.查找单词的正确解释
命令 mean

利用mean命令可以显示单词的正确解释

$ mean philosophy
Overview of noun philosophy

The noun philosophy has 3 senses (first 3 from tagged texts)

1. (12) doctrine, philosophy, philosophical system, school of thought, ism — (a belief (or system of beliefs) accepted as authoritative by some group or school)
2. (8) philosophy — (the rational investigation of questions about existence and knowledge and ethics)
3. (1) philosophy — (any personal belief about how to live or how to deal with a situation; "self-indulgence was his only philosophy"; "my father’s philosophy of child-rearing was to let mother do it")

Synonyms/Hypernyms (Ordered by Estimated Frequency) of noun philosophy

3 senses of philosophy

Sense 1
doctrine, philosophy, philosophical system, school of thought, ism

=> belief

Sense 2
philosophy

=> humanistic discipline, humanities, liberal arts, arts

Sense 3
philosophy

=> belief

3.查找单词的正确解释
命令 dict

dict命令显示dict.org网站中给出单词的解释

$ dict philosophy

1. Literally, the love of, inducing the search after, wisdom;

in actual usage, the knowledge of phenomena as explained

by, and resolved into, causes and reasons, powers and

laws.

[1913 Webster]

译注:Ubuntu用户可以通过新德利安装

4.在Vi/Vim编辑器中查询单词的解释
在编辑器配置文件中添加如下快捷脚本
map <F3> :exe ":!dict ".expand("<cword>")
想要查找单词的解释只需按下F3
如果你不怎么熟悉vim中的map指令,可以阅读我们的Vim小贴示Vi/Vim Editor Macro, Mark and Map Examples.

5.查找反义词 命令 wn
命令wn可以利用参数查找不同词性的反义词

$ wn search-str -antsa

*
WordNet command
* search-str: 需要查询的单词
* -antsa: 反义词参数

(n | v | a | r) – 名词反义词 | 动词 | 形容词 | 副词

译注:Ubuntu用户可以通过新德利安装

6.如果都不行,试试谷歌
define: 单词

Comment » | 翻译

[翻译]15个Unix LS命令实例

July 14th, 2009 — 7:48pm

Unix LS Command: 15 Practical Examples
原文链接

无论是Unix用户还是Unix系统管理员都离不开LS命令,不管你是一天内使用10次还是100次,掌握LS命令对你在命令行下的旅程绝对是有意义的。

在这篇文章中,我们展示强大的LS命令15个实例。

1.显示最后一次编辑过的文件

ls -t

2.每行显示一个文件
ls -1

3.显示文件/目录的详细信息
ls-l

4.显示更易理解的文件大小样式
ls -lh

$ ls -l
-rw-r—– 1 ramesh team-dev 9275204 Jun 12 15:27 arch-linux.txt.gz*

$ ls -lh
-rw-r—– 1 ramesh team-dev 8.9M Jun 12 15:27 arch-linux.txt.gz

5.显示目录的信息 ls -ld
使用“ls -l”命令将得到目录所含内容的细节,但如果想显示文件夹的细节你可以使用-d选项,如下例子,使用 ls -l /etc 将显示所有在etc文件夹下的文档和目录。但是,如果你想要显示/etc/目录的信息,你就要使用 -ld命令
$ ls -l /etc
total 3344
-rw-r–r–

1 root root

15276 Oct
5
2004 a2ps.cfg
-rw-r–r–

1 root root

2562 Oct
5
2004 a2ps-site.cfg
drwxr-xr-x

4 root root

4096 Feb
2
2007 acpi
-rw-r–r–

1 root root

48 Feb
8
2008 adjtime
drwxr-xr-x

4 root root

4096 Feb
2
2007 alchemist

$ ls -ld /etc
drwxr-xr-x 21 root root 4096 Jun 15 07:02 /etc

6.根据文件最后使用时间进行排序 ls -lt
$ ls -lt
total 76
drwxrwxrwt
14 root root
4096 Jun 22 07:36 tmp
drwxr-xr-x 121 root root
4096 Jun 22 07:05 etc
drwxr-xr-x
13 root root 13780 Jun 22 07:04 dev
drwxr-xr-x
13 root root
4096 Jun 20 23:12 root
drwxr-xr-x
12 root root
4096 Jun 18 08:31 home
drwxr-xr-x

2 root root
4096 May 17 21:21 sbin
lrwxrwxrwx

1 root root

11 May 17 20:29 cdrom -> media/cdrom
drwx——

2 root root 16384 May 17 20:29 lost+found
drwxr-xr-x
15 root root
4096 Jul
2
2008 var

7.根据文件最后使用时间进行排序(逆序) ls -lt
$ ls -ltr

total 76
drwxr-xr-x
15 root root
4096 Jul
2
2008 var
drwx——

2 root root 16384 May 17 20:29 lost+found
lrwxrwxrwx

1 root root

11 May 17 20:29 cdrom -> media/cdrom
drwxr-xr-x

2 root root
4096 May 17 21:21 sbin
drwxr-xr-x
12 root root
4096 Jun 18 08:31 home
drwxr-xr-x
13 root root
4096 Jun 20 23:12 root
drwxr-xr-x
13 root root 13780 Jun 22 07:04 dev
drwxr-xr-x 121 root root
4096 Jun 22 07:05 etc
drwxrwxrwt
14 root root
4096 Jun 22 07:36 tmp

8.显示隐藏文件 ls-a 或 ls -A
在Unix中隐藏文件是以‘.’开头的
$ ls -a
[rnatarajan@asp-dev ~]$ ls -a
.

Debian-Info.txt
..

CentOS-Info.txt
.bash_history

Fedora-Info.txt
.bash_logout

.lftp
.bash_profile

libiconv-1.11.tar.tar
.bashrc

libssh2-0.12-1.2.el4.rf.i386.rpm
如果不想显示‘.’当前目录和’..’父目录可以使用选项 -A
$ ls -A
Debian-Info.txt

Fedora-Info.txt
CentOS-Info.txt

Red-Hat-Info.txt
.bash_history

SUSE-Info.txt
.bash_logout

.lftp
.bash_profile

libiconv-1.11.tar.tar
.bashrc

libssh2-0.12-1.2.el4.rf.i386.rpm
[Note: . and .. are not displayed here]

9.递归显示目录 ls -R
$ ls
/etc/sysconfig/networking
devices
profiles

$ ls
-R /etc/sysconfig/networking
/etc/sysconfig/networking:
devices
profiles

/etc/sysconfig/networking/devices:

/etc/sysconfig/networking/profiles:
default

/etc/sysconfig/networking/profiles/default:

如用此命令显示/ ,将不会显示隐藏文件

10.显示文件索引号 ls -i
$ ls -i /etc/xinetd.d/
279694 chargen

279724 cups-lpd
279697 daytime-udp
279695 chargen-udp
279696 daytime

279698 echo

11.隐藏控制字符 ls -q

12.显示文件的UID和GID ls -n
$ ls -l ~/.bash_profile
-rw-r–r–
1 ramesh ramesh 909 Feb
8 11:48 /home/ramesh/.bash_profile
$ ls -n ~/.bash_profile
-rw-r–r–
1 511 511 909 Feb
8 11:48 /home/ramesh/.bash_profile

13.利用特殊字符直观显示文档 ls -F
$ ls -F
Desktop/
Documents/
Ubuntu-App@
firstfile
Music/
Public/
Templates/

*
/ – 目录.

* 无显示 – 正常文件.

* @ – 链接文件.

* * – 可执行文件

14.色彩分辨文件 ls –color=auto
目录显示蓝色,软链接显示绿色,普通文件显示默认颜色

15.有用的ls别名
*
直观显示文件大小.

alias ll="ls -lh"

* 特殊字符直观显示文档.

alias lv="ls -F"

* 特殊字符直观显示文档并进行色彩分辨.

alias ls="ls -F –color=auto"

Comment » | 翻译

Back to top