dullbananas (Joseph Silva) to linux4noobs@programming.devEnglish · 2 months agoWhy did this appear when logging in? (Fedora)imagemessage-square18linkfedilinkarrow-up127arrow-down10file-text
arrow-up127arrow-down1imageWhy did this appear when logging in? (Fedora)dullbananas (Joseph Silva) to linux4noobs@programming.devEnglish · 2 months agomessage-square18linkfedilinkfile-text
minus-squareCosmic Cleric@lemmy.worldlinkfedilinkEnglisharrow-up5arrow-down1·edit-22 months 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·2 months 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-up2arrow-down1·edit-22 months 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·2 months 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!