Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- output=$(command 2>&1 | tee "$(tty)")
- mytty=$(tty)
- output=$(command 2>&1 | tee $mytty)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement