How to redirect output to a file as well as display it out

To redirect standard output to a file is easy, you just need to use the redirection symbol, for example: echo “hello world” > test.txt But what if I want to display it out as well as store into a file? … Continue reading How to redirect output to a file as well as display it out