๐ What are some of your โohโ that was closeโ moments in Linux?
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
When I have to test a little snippet of code, I open my terminal and launch Vim with an empty buffer at my home directory. When Iโm done, I usually do rm -rf test.c
, I donโt know why but I always use rm with the -rf
flags (its a really bad habit). This time, while I was deleting my test file, I accidentally wrote rm -rf test.c .
. The dot button is really close to the enter key, and after seeing that I supplied my home directory as one of the arguments, I literally shat myself. After a second, I saw rmโs output saying
rm: can't remove '.' or '..'
I was like, yeah no more computer today.
[link] [comments] ...