Script Shell by Mr Paul Cobbaut

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.
It has been distributed widely as the default login shell for most Linux distributions and Apple’s macOS.

The example which is given by Mr Paul Cobbaut does not work with my terminal.

[paul@RHEL4a ~]$ echo echo Hello World > hello_world
[paul@RHEL4a ~]$ chmod +x hello_world
[paul@RHEL4a ~]$ ./hello_world
Hello World
[paul@RHEL4a ~]$
Thank you for your feedback

Please try running it as sh ./hello_world . It should work. Please check out our FAQ for similar issues. Let me know if you need further help. thanks

Thank you very much for your feedback.
I am happy with your suggestion.

1 Like