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


Click here to return to the 'A workaround to hide the desktop in 10.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A workaround to hide the desktop in 10.2
Authored by: a1291762 on Jun 22, '04 08:19:02PM
sudo rm ~/Desktop/.*
You do realise don't you that .. is also matched by that expression? If you had used rm -r you would have also deleted the parent directory (ie. your home directory)!

It's a good idea not to use .* to mean "all dot files". Instead use something like .[a-zA-Z]*

[ Reply to This | # ]