When you delete a line of code that you thought was useless…

last updated in Categories Humour

Or when you run rm -rf / on Linux or Unix-like system ;)

rm-rf
rm-rf

Another gif showing the same issue:

Delete a block of code
Delete a block of code

Now, I am hitting u, u, u in vim to undo (ctrl-z in other IDE) like a maniac to get back that line or a code block. Lmao.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.