LinuxGem
此处为老的 LinuxGem,新版 LinuxGem 请移步 www.linuxgem.org

根据字符串长度排序 26

2008年12月07日 02:09 in Bash 和它的朋友们 tags: 排序 bash
Post_6524

结合 sort 和 awk,根据字符串长度排序。


使用 CDPATH 变量在目录间跳转 8

2008年11月26日 04:46 in Bash 和它的朋友们 tags: cdpath bash
Post_6428

CDPATH 和 PATH 的用法完全相同,只不过 CDPATH 控制的是执行 cd 目录跳转时的查找顺序。


在 bash 中忽略不关注的文件 37

2008年11月02日 03:48 in Bash 和它的朋友们 tags: bash
Post_6182

让 bash 不要自动补全特定扩展名的文件。


用 !$ 防止误操作 453

2008年10月27日 00:39 in Bash 和它的朋友们 tags: shell bash
Post_5769

通过 bash 的 !$ 变量防止误操作。


在命令 history 中显示时间戳 80

2008年10月17日 21:02 in Bash 和它的朋友们 tags: history bash shell
Post_5730

在 history 中显示命令执行的时间戳。


用 complete 补齐命令 6

2008年9月29日 14:16 in Bash 和它的朋友们 tags: complete bash
Post_5584

用 complete 帮你补齐 sudo 后的命令。


你最常用的 10 条命令是什么? 23

2007年10月28日 23:03 in Bash 和它的朋友们 tags: bash 命令
Post_5070

在 Linux 下肯定要经常和命令行打交道,Linux 下的命令有无数,想知道自己经常用的命令 Top 10 是哪些吗?


改变 bash 命令编辑风格 3

2007年10月25日 02:04 in Bash 和它的朋友们 tags: 风格 bash
Post_5076

大家在终端中敲命令的时候,或许都用过Ctrl A(移动光标到行首)、Ctrl U(删除光标至行首的内容)等快捷键吧。这些编辑快捷键都属于emacs的编辑风格,bash默认的命令编辑风格就是emacs式的,我们也可以把编辑风格改为vi式的。


Bash 实例 -- Bash 编程入门 9

2007年10月10日 09:45 in 好多文档 tags: 编程 shell bash
Post_5100

如果你想学习 Bash 编程,那么 Bash 实例 这篇文章是最好的入门,这篇文章一共分为 3 个部分,每个部分都十分简短,每天花十分钟,即可看完一个部分。


在 Bash 下批量更改文件扩展名 7

2007年10月03日 08:24 in Bash 和它的朋友们 tags: bash 扩展名 批量
Post_5113

可以快速更改文件夹下所有文件扩展名的小脚本。