Command sed

ARUN Post in LINUX COMMANDS
0

How to replace a string using sed command.

cd /folder/

sed -i ‘s/string_to_be_replaced/new string/g’ *               —> Without SPACES in between.

cd /var/named/

sed -i ‘s/86400/300/g’ *.db

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.