Andrés RodrÃguez Reina <are...@gmv.com> writes: ... > Due to a mistake in coding a script, a folder named '~' was > generated. An unexperienced bash user issued the command "rm -rf ~" by > mistake, intending to delete the '~' folder, but this resulted in > deleting 150GB+ of data at their home directory.
It might be worth extending this test to the "~name" form as well. Dale