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
rm -rf "'folder'\$'\\003'"
Note the double escape before 003, which will render to the character literal \
003
\
Alternatively, start typing
rm -rf \'fo
And then hit tab until fish autocompletes the directory you want to kill, and run it.
fish
Side note: i would absolutely not tolerate directories named like that lol
Thanks for the tip.
Simplifying Complexity, One Answer at a Time!
Rules
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.