9 ms·
It's probably a good time to check if you have some safety against `rm -fr `. Two days ago, I wanted to delete .git only, but accidentally as my fingers were
by abarrak 10y ago
It's probably a good time to check if you have some safety against `rm -fr `.
Two days ago, I wanted to delete .git only, but accidentally as my fingers were accustomed with -fr , the command was `rm -fr * .git`. Rails server was running and some hope arose at the moment to just `lsof | grep` .. unfortunately that didn't work with me !
Ironically, all dot files have stuck as obvious :)
- 0xmohit 10y ago> Ironically, all dot files have stuck as obvious :) Those wouldn't have if you had set the following: shopt -s dotglob