First you need to find out where is your bash interpreter located. Enter the following into your command line: $ which bash Open up you favorite text editor and a create file called hello_world.sh. Insert the following lines to a file:
This article was written by Ramon Casha This tutorial presents the Linux terminal and the “bash” shell to people who have never used a command line to give commands to an operating system before, or who have never done so in Linux/Unix. People who have already used a Unix shell before might find it a bit simple. Due to the popularity of the Microsoft Windows operating system, and the large number of ex-Windows-users who have discovered Linux, I have provided comparisons to equivalent or similar features and terminology in Windows’ MS-DOS prompt or Command prompt. These are provided as an additional help for Windows users, and are not necessary to follow this document.