Monthly Archives: August 2007

Grep It

Find string in current & sub directories grep -n -r “getHead()” */* | more

Posted in Linux | Leave a comment

history — a bash command

In ubuntu, look at your home dir’s .bashrc file to control history GC May 10 2009 # don’t put duplicate lines in the history. See bash(1) for more options # export HISTCONTROL=ignoredups export HISTCONTROL=ignoreboth # History – ignore duplicates with … Continue reading

Posted in Linux | 4 Comments

man uname

UNAME(1) User Commands UNAME(1) NAME uname – print system information SYNOPSIS uname [OPTION]… DESCRIPTION Print certain system information. With no OPTION, same as -s. -a, –all print all information, in the following order: -s, –kernel-name print the kernel name -n, … Continue reading

Posted in Linux | Comments Off