Schrödinger's directory

JustLinuxThings
Schrödinger's directory

Posted Aug 6, 2022, 6:51 PM UTC

28917
NZNzven•

rm -rf path

37
unsupervisedUser•

it's probably a dead symlink. "rm -f path" should get rid of it.

22
Lord_Schnitzel•

Why the flag is after the filename?

15
waimusOPGlorious Fedora•

Faster to type ¯\_(ツ)_/¯ just arrow up the write the flag

18
SharkLaunch•

You dropped this \ (due to formatting, you'll need to put three backslashes together to form that first arm)

4
waimusOPGlorious Fedora•

Dammit no wonder my right arm hurts badly. Thanks!

3
posherspantspantsGlorious Ubuntu•

For memes

9
NullVoidPointerGlorious Arch (not btw)•

I always do that, It minimizes the chance of rming a different directory if you hit enter early.

 rm -rf projects/something/somefile

could become rm -rf projects/ but, rm projects/something/somefile -r could become rm projects Which throws an error.

1
zeepers_13•

rm -rf / --no-preserve-root and you're good to go.

14
waimusOPGlorious Fedora•

Gonna have to ssh into your pc to try that out

15
zeepers_13•

You don't have to. I've done it as experiment. Whole thing stops working and then it freezes with black screen then bunch of errors if you restart and it's dead.

7
waimusOPGlorious Fedora•

Thank you for your service 🙏🙏

12
zeepers_13•

With pain :,-)

6
saivishnu725Glorious Pop!_OS•

What is that catpr ?

6
waimusOPGlorious Fedora•

It's a reminder tool I made myself. It's simply allowing add/remove an entry to disk and view them, no fancy feature. https://gitlab.com/waimus/cataphract

5
saivishnu725Glorious Pop!_OS•

Sounds minimal. Looks nice. I'll give it a try

3
Pos3odon08One neofetch a day keeps the Microsoft away•

Lmao

1