Yesterday I wanted to clean around my home directory:
rm dmesg.txt feh_02 * boot.txt test.txt test.txt~ xxxtest.txt
And this is the result:
zsh: sure you want to delete all the files in /home/lamnk [yn]? n
zsh: sure you want to delete all the files in /home/lamnk [yn]? y
rm: cannot remove `feh_02': No such file or directory
rm: cannot remove `Customization': Is a directory
rm: cannot remove `Desktop': Is a directory
rm: cannot remove `Documents': Is a directory
rm: cannot remove `Download': Is a directory
rm: cannot remove `Dropbox': Is a directory
rm: cannot remove `Ebooks': Is a directory
rm: cannot remove `Movies': Is a directory
rm: cannot remove `Music': Is a directory
rm: cannot remove `Photos': Is a directory
rm: cannot remove `Pictures': Is a directory
rm: cannot remove `Truyentranh': Is a directory
rm: cannot remove `backup': Is a directory
rm: cannot remove `builds': Is a directory
rm: cannot remove `boot.txt': No such file or directory
rm: cannot remove `test.txt': No such file or directory
rm: cannot remove `test.txt~': No such file or directory
rm: cannot remove `xxxtest.txt': No such file or directory
Luckily i didn’t issue rm -rf as usual …
I will look at shell’s warning before press Y
I will look at shell’s warning before press Y
I will look at shell’s warning before press Y
[repeat 1000 times]
… and still press y on reflex …
Related posts:





