<b> File output</b> # cat file hello<b> Replace hello from file using sed command</b> # sed 's/hello/hi/' file #cat file hi