Is there a method I can echo some value into a file and terminal in 1 line instead of doing two echo
echo "testing" >> file.txt #to file but not terminal
echo "testing" #to terminal but not file
Is there a method I can echo some value into a file and terminal in 1 line instead of doing two echo
echo "testing" >> file.txt #to file but not terminal
echo "testing" #to terminal but not file