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. ...
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
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?