"Manuel Reimer" <[EMAIL PROTECTED]> writes: > Hello, > > yesterday, I tried to just change the owner of a user profile. So I used "cd" > to get directly into the user directory and used this command, at first: > > chmod -R $USERNAME * > > Unfortunately there have been "dot files" in the user profile and so I tried > this command to catch them: > > chmod -R $USERNAME .*
You could have just used "." as the argument. Saves a key. :-) > Another example: How would I kill all files on a mounted removable media? rm -rf * .[!.]* ..?* Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash