Cycle through the last argument of previous commands in Bash

Wed, 2009-01-07

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-06

Just like <TAB> expands a filename given a prefix you can also expand a file name given the middle part of a file name.


$ ls
abc1def  abc2def  abc3def  abc4def  abc5def
$ ls *2*<ESC>g

Which will expand to:

$ ls abc2def

via a stackoverflow question

Test post with vimblog.vim

Sun, 2008-06-29

This is just a test post using vimblog.vim.

Trying out blogging

Sat, 2008-06-28

I just recently started a tumblelog at 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 is actually the best option to archive my tips. So I’ll give WordPress a shot…