LoveEspresso@retrofed.com to Explain Like I'm Five@lemmy.worldEnglish · 15 days agoWhat is it saying in my terminal ?retrofed.comimagemessage-square16fedilinkarrow-up17arrow-down119
arrow-up1-12arrow-down1imageWhat is it saying in my terminal ?retrofed.comLoveEspresso@retrofed.com to Explain Like I'm Five@lemmy.worldEnglish · 15 days agomessage-square16fedilink
minus-squareSpikesOtherDog@ani.sociallinkfedilinkEnglisharrow-up1·15 days agoThey are using fish, FYI. Not sure how much of a difference this makes.
minus-squareLoveEspresso@retrofed.comOPlinkfedilinkEnglisharrow-up1arrow-down1·15 days agoFish is different ?
minus-squareStrider@lemmy.worldlinkfedilinkEnglisharrow-up1·15 days agoOf course. It could work totally different from bash. To be fair I saw some cool fish stuff and thought about using it but when maintaining a few thousand servers with bash its not viable to load an alternative shell to all of them.
minus-squareLoveEspresso@retrofed.comOPlinkfedilinkEnglisharrow-up1arrow-down1·15 days agoThe actual folder is ‘folder’$‘\003’ .
minus-squaregravitas_deficiency@sh.itjust.workslinkfedilinkEnglisharrow-up8·edit-215 days agoIn that case, I think you want rm -rf "'folder'\$'\\003'" Note the double escape before 003, which will render to the character literal \ Alternatively, start typing rm -rf \'fo And then hit tab until fish autocompletes the directory you want to kill, and run it. Side note: i would absolutely not tolerate directories named like that lol
minus-squarehemko@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·15 days agoIs this some school task…? Why is there a folder with such a name 😅
minus-squareLoveEspresso@retrofed.comOPlinkfedilinkEnglisharrow-up3·15 days agoApparently yes. I’m learning things on my own.
They are using fish, FYI. Not sure how much of a difference this makes.
Fish is different ?
Of course. It could work totally different from bash.
To be fair I saw some cool fish stuff and thought about using it but when maintaining a few thousand servers with bash its not viable to load an alternative shell to all of them.
The actual folder is ‘folder’$‘\003’ .
In that case, I think you want
Note the double escape before
003, which will render to the character literal\Alternatively, start typing
And then hit tab until
fishautocompletes the directory you want to kill, and run it.Side note: i would absolutely not tolerate directories named like that lol
Thanks for the tip.
Is this some school task…? Why is there a folder with such a name 😅
Apparently yes. I’m learning things on my own.