To delete the Desktop's .DS_Store file, for instance, you would enter the following two commands in the Terminal, pressing return after each: cd desktop rm -i .DS_store You may need to log out then ...
For every window in Mac OS X, a hidden file called ".DS_Store" contains the information on how the window is to be displayed (such as, which columns are shown for "list" mode, icon sizes, window ...
If you trade a USB thumb drive, hard drive, or other portable storage between Mac and Windows systems, the .DS_Store, .Trashes, and other starts-with-a-dot files left behind by Macs can get annoying.