Browsing all articles tagged with find and replace in linux - Share Programming Tips
Find and replace command for whole directory in Linux
In many case most of the projects have so many files in so many different folder. So at some point you want to do find and replace for particular word in your whole project or whole directory in that case this command will help you.
In linux for doing this there is no single command but we can design one new command by combination of several.
find /path/to/directory -type f -exec sed -i.bak 's/oldword/newword/g' {} \;
Search in this website
our sponsors
latest comments
- JIGAR PATEL on List of all standard version of c language
- agabein on List of all standard version of c language
- David Wood fin on Stop Plugin from showing updates
- Alice on C programming interview questions and answers for freshers
- smitesh on How to access/unblock songs.pk in india?
Find us on Facebook
Top Authors
Find us on stackoverflow
Polls
Loading ...
My Bookmarks
- Audio/video Recorder & player application based on MATLAB
- check dependency of your binary
- defination of all standard c programming language function
- Great Question-Answer on c programming
- know what your c code means
- Limition of c programming language
- List of all version of c programming language
- Online c compiler
- php freelancing work
- some more stuff on C programming language
- Volatile Keyword in Embedded System
- Write Android application in c language