Bash tips and trick
Thursday, July 21, 2005
Ignore case in grep
$ grep -i 'camelCaseWhatever' file.txt
posted by Arthur Kho Caayon at
3:46 AM
0 Comments:
Post a Comment
<< Home
Previous Posts
sed: Swap two words around$ cat testfirst:secondon...
sed: Enclose a word in angle-bracketss/html/<&>/re...
Delete all lines in a file that begins with 'O'$ca...
Strip off file extension${filename%.*}Example:$ fi...
Set cdable directories
Searching the command history1) Press Ctrl-R at th...
Command subsitutionAssign command output to a vari...
Brace ExpansionCreate a copy/backup of a file: $ c...
0 Comments:
Post a Comment
<< Home