Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@RantSomeWhere
I've done exactly this, and it worked.
But still, my heart was beating like fuck when I deleted it. -
tokumei21256y@RantSomeWhere ~ is a valid character in file names, the popular shells like bash/zsh expand that to the contents of $HOME before making process calls, it has no meaning at the low level.
-
shaji12486yjust do rm ./~
Be really really REALLY ducking careful that you don't mistype anything though 😊 -
Isn't there a flag for rm that asks for confirmation? An interactive mode or something?
-
@beegC0de by default rm is an alias for interactive shell mode, at least in most distributions.
-
Can't remember the flag, but rm has a flag to print what it's going to delete, instead of deleting it
-
mishaor17696yjust ls ~ and check if your stuff is safe
then ls ./~ (this will list the contents of the offending folder)
then rm -r ./~
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
Once, i accidentally created a directory, called '~'.
I were this afraid, of deleting something.
random
tilde
home
linux