Tag: Unix

Replace a String in Unix

Now that we know how to find a string in a list of files in the home directory, we may also want to replace the string with something else.. Eg: Replacing a password in all the files as and when it is getting changed.The command to do this is:find . -t…

Find a String in UNIX

We’ve become so much addicted to find/search functionality these days that I tend to look out for Ctrl+F button when I want to find something on a hard bound book as well!!I had a requirement where I had to search for all the files in my home directory…