Bash tips and trick
Saturday, June 18, 2005
Delete all lines in a file that begins with 'O'
$cat somefile | sed '/^O/d'
posted by Arthur Kho Caayon at
3:52 AM
0 Comments:
Post a Comment
<< Home
Previous Posts
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