Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'alphabetical listing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
alphabetical listing
Authored by: snit on Jul 22, '02 09:41:12PM

I added the following to my .login (actually a file called .aliai which is sourced from my .login)

alias "DT" "cat >> ~/Desktop/DT.txt"

I can now have any command's output redirected to a file on my desktop called DT.TXT, appending any new text to the end of the file

If I do not want it to append to an old DT.txt that may already exist, I use the DTo command defined by the following alias

alias "DTo" "cat > ~/Desktop/DT.txt"

Either can be used as follows:

ls -la | DT

the secret is the "piping" through the DT ( or DTo) command.

I suppose I could enter this as a hint all by itself. :)



[ Reply to This | # ]