Archive for 'Linux'

Nautilus Script: Edit Remote Files (SSH) with Vim

Posted 06 September 2007 | By mitch | Categories: Geekery, Gnome, Linux, Programming, Python | No Comments

My on again, off again love affair with KDE is currently off (but that’s another story). I’m once again enjoying the simplicity of Gnome, and the elegance of Nautilus.

The ability to graphically browse remote servers via SSH is great, but I found out that trying to edit a remote file chokes Vim. Apparently the netrw [...]

Bash: It’s the little things

Posted 27 June 2007 | By mitch | Categories: Geekery, Linux | 2 Comments

The Bash shell always amazes me. I needed to create a Maildir using the typical Maildir/cur, Maildir/new, Maildir/tmp structure and stumbled on this:

$ mkdir -m 0700 -p Maildir/{cur,new,tmp}

The -m and -p options are no-brainers, but the {cur,new,tmp} was new to me. It was easy to figure out what was going to happen… one command to [...]