linux sed imput file and create new one code example Example: sed output to file sed 's/Hello/Hi/g' file-name > file