Problem deleting files

Robert Huff roberthuff at rcn.com
Mon Jul 2 00:36:16 UTC 2018


John R. Levine writes:

>  > # rm -fr .
>  > rm: "." and ".." may not be removed
>  
>  Oh, ok, then go one level up.  If your directory is callled abc
>  
>  $ rm -rf abc
>  
>  the -r recursor uses a library that can handle arbitrarily large sets of 
>  files.

	Warning: it has been my (painful) experience that  - depending on
how you have things set up - deleting the current working directory
can have unintended consequances.


			Respectfully,


				Robert Huff


			


More information about the freebsd-questions mailing list