Home Reverse colors Help
Single page Previous Contents Next

Introduction to GNU/Linux
95 / 102

Hello World

File hello.sh:

echo Hello World 

The first line can be ommitted to run the script using a non interactive shell: bash hello.sh.

Execute permission must be set to simply run it: ./hello.sh.

If the directory which contains the file is in the PATH environment variable, you don't need the path: hello.sh.

Previous Contents Next