dullbananas (Joseph Silva)@lemmy.ca to linux4noobs@programming.devEnglish · 18 hours agoWhy did this appear when logging in? (Fedora)lemmy.caimagemessage-square18fedilinkarrow-up123arrow-down10file-text
arrow-up123arrow-down1imageWhy did this appear when logging in? (Fedora)lemmy.cadullbananas (Joseph Silva)@lemmy.ca to linux4noobs@programming.devEnglish · 18 hours agomessage-square18fedilinkfile-text
minus-squarecalamityjanitor@lemmy.worldlinkfedilinkarrow-up4·17 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-210 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
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