Linux basic command: cat, replace, redirect stdout to a file

Linux basic command: cat, replace, redirect stdout to a file

Some  basic: Write Hello into a (new) file called Hello.txt Redirect stout to a file echo Hello > Hello.txt Print to screen every single line of a file (Hello.txt) cat Hello.txt Replace letter ‘e’ with ‘a’ inside a file (Hello.txt) cat Hello.txt | sed s/e/a/…

Continue reading →