OrangePumkin@piefed.nl to linux4noobs@programming.devEnglish · 2 months agoI am trying to get rid of this folder, but the result is saying that fish expects a variable name after this $. What does it mean ? And how do i get rid of this folder ?objectstorage.eu-amsterdam-1.oraclecloud.comimagemessage-square31linkfedilinkarrow-up114arrow-down19
arrow-up15arrow-down1imageI am trying to get rid of this folder, but the result is saying that fish expects a variable name after this $. What does it mean ? And how do i get rid of this folder ?objectstorage.eu-amsterdam-1.oraclecloud.comOrangePumkin@piefed.nl to linux4noobs@programming.devEnglish · 2 months agomessage-square31linkfedilink
minus-squareSuccessful_Try543@feddit.orglinkfedilinkarrow-up1·2 months agoAs the other commenters and I have mentioned, you should try escaping any of the special characters ', $, and \ by a backslash, i.e. \', \$ and \\
minus-squareOrangePumkin@piefed.nlOPlinkfedilinkEnglisharrow-up1arrow-down1·2 months agorm -rf command ?
minus-squareSuccessful_Try543@feddit.orglinkfedilinkarrow-up1·2 months agorm -rf \'folder\'\$\'\\003\'
As the other commenters and I have mentioned, you should try escaping any of the special characters
',$, and\by a backslash, i.e.\',\$and\\rm -rf command ?
rm -rf \'folder\'\$\'\\003\'