2
votes
2answers
157 views

Any way to stream a file in linux

I have a terminal output which I'd like to be available to several users currently something like: command > /var/logs for the input, and: watch tail -30 /var/logs for the input terminals. ...
8
votes
1answer
2k views

Copy terminal output to Mac clipboard?

I need to directly copy the terminal stdout to the clipboard on Mac. How would I do this? Example: echo sometext | copy_to_clipboard or echo sometext > /private/clipboard.txt
3
votes
1answer
1k views

copy (split?) stdout instead of redirecting it

In Bash, I'd like to redirect stdout to a file (>> mylog.txt) but also see the stdout output on the screen.. How can I do it with bash?