Today morning I received a mail from of my friend Deepak Arora who is persuing CCIE security with a very intersting command. The command name is Redirect & Tee which is being used by cisco routers to redirects or save the show config directly to any where.
sh run | tee tftp://192.168.0.1/runconf.txt
show tech-support | tee tftp://192.168.0.1/techsupp.txt
You can also use redirect in the same way
show tech-support | redirect tftp://192.168.0.1/techsupp.txt