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.
e.g.
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
e.g.
show tech-support | redirect tftp://192.168.0.1/techsupp.txt