In Bash, when I want to repeat the last argument of the previous command, I usually type !$. I just discovered that you can also use ALT+. to cycle through the last argument of previous commands.
ESC-g for glob expansion in bash
Tue, 2009-01-06Just like <TAB> expands a filename given a prefix you can also expand a file name given the middle part of a file name.
Example:
$ ls abc1def abc2def abc3def abc4def abc5def $ ls *2*<ESC>g
Which will expand to:
$ ls abc2def
via a stackoverflow question
Trying out blogging
Sat, 2008-06-28I just recently started a tumblelog at soup.io and I think it’s great to keep track of interesting things I find on the web. I also posted a few useful Linux commands, scripts, tips… so that I had them written down for future reference. But the lack of tagging, categories, an integrated calendar or archive of my posts and the fact that I can’t seem to find my posts with Google made me rethink if soup.io is actually the best option to archive my tips. So I’ll give WordPress a shot…
Posted by davitenio
Posted by davitenio
Posted by davitenio