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-up4·2 months agoWould it help to use ls --literal --show-control-chars to find out if \003 is indeed the representation of a special character?
minus-squaresjohannes@programming.devlinkfedilinkEnglisharrow-up4·edit-22 months agoThe default output itself is pretty definitive, assuming you are indeed using GNU ls and don’t have the QUOTING_STYLE environment variable set. https://www.gnu.org/software/coreutils/manual/html_node/Formatting-the-file-names.html explains all this (including your options) and more. $ touch $'folder\x03' $ ls --quoting-style shell-escape # the default 'folder'$'\003' $ ls --quoting-style c "folder\003" $ ls --quoting-style escape folder\003
Would it help to use
ls --literal --show-control-charsto find out if\003is indeed the representation of a special character?The default output itself is pretty definitive, assuming you are indeed using GNU
lsand don’t have theQUOTING_STYLEenvironment variable set. https://www.gnu.org/software/coreutils/manual/html_node/Formatting-the-file-names.html explains all this (including your options) and more.$ touch $'folder\x03' $ ls --quoting-style shell-escape # the default 'folder'$'\003' $ ls --quoting-style c "folder\003" $ ls --quoting-style escape folder\003