Read Neal Ford's excellent book The Productive Programmer.
It's full of lots of useful tips.
###Edit: And, as mentioned elsewhere, read the docs for your tools. I'm always learning new things for Vim by reading Vim wikis. Similarly, just reading through the man page for bash or zsh always gives new tricks to use.