4 ms·
Recursively remove everything in the home directory.
by justin66 2y ago
Recursively remove everything in the home directory.
- einr 2y agoNo, that would be ~/* or just ~. The article says that the command deleted every user's home directory, which seems to imply that the shell would expand ~* to a list of every user's home directory. But -- sensibly -- neither modern tcsh, bash, zsh, ksh nor the ancient csh in NeXTStep does that. csh on NeXTStep 1.0: localhost> echo ~ /me localhost> echo ~* echo: No match.