I need to change replace a text in a file and output the whole text file with the changed text and also print it to the screen.
This is what I got:
sed 's/123/456/g' number > number123
This changes the text and outputs to the new file but it won't print to the terminal.
How do I get it so it prints the changed text file to the terminal in that one command.
Any help is appreciated.