skip to main
|
skip to sidebar
Tech Trek
Technical tid-bits and more ! Leave a comment if you found something useful.
Friday, February 6, 2009
Sed - Deleting lines matching a pattern
sed -i '/.*log$/d' file_names.txt
Deletes all the lines ending with "log" from the file "file_names.txt"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Share
Labels
ant
(1)
bash
(10)
bestpractise
(2)
browsers
(1)
code
(1)
commandline
(11)
cricket
(1)
database
(1)
dba
(7)
eclipse
(2)
editor
(1)
emacs
(1)
find
(1)
firefox
(1)
http
(1)
india
(1)
java
(3)
javascript
(1)
jquery
(1)
links
(1)
linux
(17)
network
(3)
oracle
(17)
performance
(1)
rails
(1)
regex
(1)
ruby
(2)
search
(1)
sed
(3)
shell-scripts
(2)
sql
(9)
svn
(1)
sysadmin
(2)
tools
(1)
unix
(17)
vim
(19)
web
(1)
webservices
(1)
windows
(2)
xmllint
(1)
Blog Archive
►
2012
(5)
►
July
(1)
►
February
(3)
►
January
(1)
►
2011
(6)
►
October
(4)
►
July
(2)
►
2010
(1)
►
February
(1)
▼
2009
(21)
►
December
(1)
►
November
(1)
►
October
(1)
►
July
(1)
►
May
(4)
►
April
(6)
▼
February
(3)
marks in vim - bookmarks
Cron entry for other users
Sed - Deleting lines matching a pattern
►
January
(4)
►
2008
(34)
►
December
(3)
►
November
(1)
►
October
(2)
►
September
(2)
►
August
(1)
►
July
(1)
►
June
(6)
►
May
(2)
►
March
(4)
►
February
(7)
►
January
(5)
►
2007
(10)
►
October
(4)
►
August
(3)
►
July
(3)
Google Analytics
Webstats
Free counter
No comments:
Post a Comment