Suppose you have a file with 1000000 lines.. & you want to change any word. Use sed command.
For example: i have a file with name rk.conf with 80000 lines & in this file,want to change lib word with lib64. i use sed this command & my problem RESOLVED.
Command like this.
#sed -i 's/lib/lib64/g' rk.conf
Enjoy... hope this will save your time........
Tuesday, February 23, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment