Posts Tagged ‘bash’

Recursive Grep

I didn’t even think about it until about 15 seconds after I pressed enter: grep ‘call_user_func_array’ * > out.txt Sigh.

ANSI Color In Mac OS X 10.4

By default when connecting over ssh to my Mac OS X 10.4 box (using bash shell), there’s no ANSI color. Sometimes it’s pretty handy to have. I keep forgetting how to turn it on. To add, put the following in the .profile file in your home directory: TERM=xterm-color; export TERM Now when I ssh in, […]