研究shell命令补全bash Completion技术(一)

研究目的: * tab自动补全的原理和代码实现 * 提高日常工作水平 日常工作中,tab自动补全是非常好用的特性。在ubuntu下的bash中相关代码如下: * /etc/prof ->more...
05-10 09:26  by 草色青青Caory  latest change about 19 hours  

# todo # dig # shell

Dash As Bin Sh Ubuntu Wiki

Dash as /bin/sh In Ubuntu 6.10, the default system shell, /bin/sh, was changed to dash (the Debia ->more...
05-18 21:55  by 草色青青Caory from wiki.ubuntu.com

# dash # sh

Dash与bash的语法区别 | Igi's Blog

如今Debian和Ubuntu中,/bin/sh默认已经指向dash,这是一个不同于bash的shell,它主要是为了执行脚本而出现,而不是交互,它速度更快,但功能相比bash要少很多,语法严格遵守P ->more...
05-18 21:46  by 草色青青Caory from igigo.net  latest change about 20 hours  

# bash # sh # 推荐

Bash Reference Manual

This text is a brief description of the features that are present in the Bash shell (version 4.2, 28 ->more...
04-25 06:13  by 草色青青Caory from gnu.org  latest change about 20 hours  

# ref # cli # bash # good # 重要

试用checkinstall安装ruby源码

==遇到的几个问题 2 - Name: [ ruby-2.0.0 ] * version number 要求数字开始 sudo checkinstall --pkgversi ->more...
05-17 11:31  by 草色青青Caory  latest change 2 days  

# install

28、Linux Shell常用的几个函数,Split 浪里飞 博客园

1、说明 split [-bl] file PREFIX 2、option 参数: -b:后面可接欲分割成的档案大小,可加单位,例如 b, k, m 等; -l:以行数来 ->more...
05-16 12:01  by 草色青青Caory from cnblogs.com

# split

Shell之split命令

split [-bl] file PREFIX ==分隔大文件 split -l 10000 development.log dev split -b 10k development.l ->more...
05-16 11:56  by 草色青青Caory  latest change 3 days  

# shell # cmd

正则疑难

项目视图文件中,找出不匹配 http://xxx.shareup.me/images/xxx.jpg
05-15 14:13  by 草色青青Caory

# 疑难

字符串分组

way1: `"12345665458745".reverse.chars.to_a.in_groups_of(3).map{|m| m.join}.join(",").reverse` w ->more...
05-14 17:58  by 草色青青Caory

# snippet

Up2Top