On no Linux variety that I have yet encountered does '*' include '..' or '.' . I have to use the '-r' option to get recursive delete, and even then, the directory itself won't go away unless I specify 'rm -r /var/snd', without the '/*' at the end.

That's been my experience, anyway.


Rob

On Wed, 7 May 2014, Cowboy wrote:

On Wednesday 07 May 2014 04:13:31 pm Rob Landry wrote:
rm /var/snd/*

BE CAREFUL with that !!!

Remember * would include both . and .. so unless your particular
system explicitly prohibits recursive delete, you could wipe the drive that way.

--
Cowboy

http://cowboy.cwf1.com

A citizen of America will cross the ocean to fight for democracy, but
won't cross the street to vote in a national election.
                -- Bill Vaughan
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to