Zombie Zen

Zombie Zen Blog

Unix Command Line of the Day

Posted

I wanted to paste a text file with my homework assignment into Gmail. Unfortunately, said text file was on the school server and I really didn’t want to permanently download the thing to my hard drive. So this is what I did:

scp $vogon:~/graph.txt /dev/stdout | pbcopy

This connects to the school server, retrieves graph.txt from my home directory, and copies it to standard out. I then piped the text into pbcopy, which is the Mac utility for manipulating the clipboard. After that, I switched to Gmail and did a paste.

Unix/bash is cool!

Vim Tutorials

Posted

After learning Vim, I thought it would be useful to share my knowledge with other programmers. These tutorials assume that you don’t have any experience with Vim, but may even be useful for intermediate Vim users.

I’ll be uploading more in the weeks to come, but even just the movement commands are useful.

You can watch my tutorials at: http://vimeo.com/channels/zombiezenvim