dullbananas (Joseph Silva) to [email protected]English • 15 hours agoWhy did this appear when logging in? (Fedora)lemmy.caimagemessage-square18fedilinkarrow-up120arrow-down10file-text
arrow-up120arrow-down1imageWhy did this appear when logging in? (Fedora)lemmy.cadullbananas (Joseph Silva) to [email protected]English • 15 hours agomessage-square18fedilinkfile-text
minus-squareCosmic ClericlinkEnglish5•edit-214 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-square@calamityjanitorlink4•14 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 ClericlinkEnglish2•edit-27 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
I looked in /tmp
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!