Quick tip to change parameters in different files
Quick tip to change parameters in different files
Related Posts
Related Websites
| Hot: |
for i in *.cfg; do mv $i $i.bak;sed ’s/a/b/’ $i.bak > $i; done
The above command is very useful to change certain regular expressions in couple of files in one directory. This can be used in variety of ways to achieve a lot of things which would normally take some time to do manually.
Originally posted 2008-10-16 21:04:58.
related post
- My Images
- BDay Snaps
- Nature
- Get the information on all the rpms installed on the system
- Bash Tips & Tricks
Related Posts -
log analysis with perl and wireshark decode. Here is something that I had to do in couple... -
Modifying the bashrc or bash startup files. Find the article here.Copy here:If you've been learning the command-line...
Related Websites - Nothing You Do Is So Small As To Not Make A Difference. "None of this small stuff that I am doing is...
- How to Delete Empty Folders - FREE! While performing a disk cleanup recently, I had cause to...
























