JPDev@programming.dev to Programmer Humor@programming.dev · 7 个月前Always try sudoprogramming.devimagemessage-square100fedilinkarrow-up11.16Karrow-down175
arrow-up11.08Karrow-down1imageAlways try sudoprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 7 个月前message-square100fedilink
minus-squareAmbiguousProps@lemmy.todaylinkfedilinkEnglisharrow-up90·7 个月前Very important to not hit enter before clot.
minus-squareTechnus@lemmy.ziplinkfedilinkarrow-up21·7 个月前I feel like if your body follows the Unix filesystem structure, you have a real problem.
minus-squareBleatingZombie@lemmy.worldlinkfedilinkarrow-up19·7 个月前Please forgive my ignorance. What does ** do?
minus-squaregaylord_fartmaster@lemmy.worldlinkfedilinkarrow-up23·7 个月前Acts as a wildcard for any directories that exist between arteries and clot.
minus-squareMonkderDritte@feddit.delinkfedilinkarrow-up3·edit-27 个月前But only in Bash and if settings match. It’s only reliable on your own shell, don’t use it in scripts.
minus-squareTechnus@lemmy.ziplinkfedilinkarrow-up8·edit-27 个月前It’s a glob pattern (edit: tried to find a source that actually showed ** in use).
minus-squaremosiacmango@lemm.eelinkfedilinkarrow-up6·edit-27 个月前Had to look this up as well. Its not rm specific: * is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names. ** is a recursive wildcard that can only be used with paths, not file names. More here.
sudo rm /heart/arteries/**/clot
Very important to not hit enter before clot.
That’s why you have backups.
Or btrfs snapshots.
Isn’t it
/dev/heart
?I feel like if your body follows the Unix filesystem structure, you have a real problem.
Can I get one of them immutable bodies?
You are now a cygote
you wish to assimilate into the borg?
Please forgive my ignorance. What does ** do?
Acts as a wildcard for any directories that exist between arteries and clot.
TIL!
But only in Bash and if settings match. It’s only reliable on your own shell, don’t use it in scripts.
It’s a glob pattern (edit: tried to find a source that actually showed
**
in use).Had to look this up as well. Its not rm specific:
More here.
deleted by creator