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


Click here to return to the 'Shell variable rmstar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Shell variable rmstar
Authored by: adrian mayo on Oct 14, '02 03:23:43PM

One can set the tcsh shell variable rmstar
set rmstar
as a catch-all reminder against typing rm *

This also protects against hitting a space in the wrong place turning
rm *.bak
into
rm * .bak



[ Reply to This | # ]
Shell variable rmstar
Authored by: thatch on Oct 15, '02 12:54:12PM

Adrian Mayo, you have the best solution for this hint using the tcsh shell.

man tcsh and search for rmstar for detail.



[ Reply to This | # ]