Replace string in linux using sed command

File output

# cat file
hello

Replace hello from file using sed command

# sed 's/hello/hi/' file
#cat file
hi
Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment