21
votes
3answers
27k views

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ...
11
votes
3answers
34k views

How to run programs from a linux terminal without blocking the terminal?

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program. I am a new user of linux, and I want to know if there is a way to execute a ...