commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Sends both stdout and stderr to the pipe which captures the data in the file 'out.test' and sends to stdout of tee (likely /dev/tty unless redirected). Works on Bourne, Korn and Bash shells.
There are 4 alternatives - vote for the best!
Display commands and their arguments as they are executed. Useful for debugging shell scripts.
If you can do better, submit your command here.
You must be signed in to comment.