Cheat sheet
tee cheat sheet
Save a command's output to a file while still passing it on: logging long jobs, writing root-owned files with sudo, and splitting a stream to several places.
Cheat sheet
Save a command's output to a file while still passing it on: logging long jobs, writing root-owned files with sudo, and splitting a stream to several places.