3 ms·
Yes, especially since cowsay was marked in a different color! Expected behaviour from *nix would be that you'd either sh somescript.sh Or ./someexecutab
by kroltan 6y ago
Yes, especially since cowsay was marked in a different color!
Expected behaviour from *nix would be that you'd either
sh somescript.sh
Or
./someexecutable
Of course the extension is not technically required, but it would help in the UX for the user to try running it on the sh command.
- joshspankit 6y agoI personally think this is the best solution besides implementing ‘./‘: take the colouring off and simply return “permission denied” when someone tries to ‘chmod’
- froh42 6y agoAs "cat cowsay" tells me that cowsay is an executable, I wouldn't expect "sh cowsay" to work in any event.