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 -
Linux find command - Find file and directories faster and easier This command is very powerfull when used with combination of... -
Add a image to the list of background files in gnome In Gnome, when you right click on the desktop background...
Related Websites - Spring Cleaning 101 - The Natural Way To Clean The Air. Since Spring just started, I wanted to concentrate on a...
- Ayn Rand Indecisive Liberal, Prosper Blog, and Other Prosper Changes Prosper CEO called Ayn Rand an indecisive liberal when compared...































