dullbananas (Joseph Silva) to linux4noobs@programming.devEnglish · 12 hours agoWhy did this appear when logging in? (Fedora)imagemessage-square17fedilinkarrow-up117arrow-down10file-text
arrow-up117arrow-down1imageWhy did this appear when logging in? (Fedora)dullbananas (Joseph Silva) to linux4noobs@programming.devEnglish · 12 hours agomessage-square17fedilinkfile-text
minus-squareCosmic Cleric@lemmy.worldlinkfedilinkEnglisharrow-up5·edit-211 hours agoReread what I wrote. There may be two subdirectories named ‘../tmp/’ on your machine. Edit: For anyone else, how do I type just two periods? When I do, it displays as an ellipsis, three periods.
minus-squarecalamityjanitor@lemmy.worldlinkfedilinkarrow-up4·11 hours agoSurely the space is part of the command. It’s running sh with the file in /tmp as the parameter (run this file).
minus-squareCosmic Cleric@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-24 hours agoYou’re right. I assumed the whole thing is a single command, and not a command with an argument/parameter. My bad. Didn’t realize ‘sh’ was a shortcut to bash in and of itself. Thought you had to mark a file as an executable, like “.sh” files. This comment is licensed under CC BY-NC-SA 4.0
minus-squareflamingos-cant@feddit.uklinkfedilinkEnglisharrow-up4·11 hours agoEscape one of them \.. => ..
Reread what I wrote. There may be two subdirectories named ‘../tmp/’ on your machine.
Edit: For anyone else, how do I type just two periods? When I do, it displays as an ellipsis, three periods.
Surely the space is part of the command. It’s running sh with the file in /tmp as the parameter (run this file).
You’re right. I assumed the whole thing is a single command, and not a command with an argument/parameter. My bad.
Didn’t realize ‘sh’ was a shortcut to bash in and of itself. Thought you had to mark a file as an executable, like “.sh” files.
This comment is licensed under CC BY-NC-SA 4.0
Escape one of them
\..
=> ..Thank you!