如果我做
echo "hello" > logfile.txt
我只在logfile.txt中查看hello,但是如何在Linux的控制台上编写hello?
tee
echo "hello" | tee logfile.txt