Linux Simpan Program Konsol Output ke File

SomeCommand 2>&1 | tee SomeFile.txt
Cute Cockroach