How to save the output of any command in a file as well as display the same on the VDU?
echo “hello world” > temp.txt
echo “hello world” | tee temp.txt
echo "hello world">tmp.txt|tee tmp.txt
echo "hello world">tmp.txt|print