Posts tagged linux

Bash cheat sheet

Technically, this is a bash cheat sheet; however, many of the commands will work with Bourne shell descendants, such as zsh.

more...

tmux cheat sheet

Since switching to vim, I've found myself really enjoying keyboard-based user interfaces. So instead of managing multiple terminal sessions in iTerm, I have started using tmux. I'm writing this cheat sheet as I learn. Check back often.

more...

My ssh config file template

If you ssh into servers, you must set up a .ssh/config file. It will allow you to type ssh myd instead of ssh myuser@mydomain.com -i ~/.ssh/mykey.pem -p 1234.

more...

VIM Cheat Sheet

After 9 years of TextMate, I'm switching to vim. I'm writing this cheat sheet as I learn. Check back often.

more...

How to make a ruby file executable

In the ruby file:

#!/usr/bin/env ruby
puts 'Hello world'

At the command line:

chmod +x ruby.rb

Then you can execute it like this:

./ruby.rb