Linux Bash

Learning Bash Scripting

I thought of learning bash scripting. I do not know how tough is it gonna be. I have not looked at the whole complicated script at all.
I am gonna begin with a simple bash script.

First I need to locate where my bash interpreter is located.
In my case its located in /usr/local/bin/bash

(manoj@linuxweblog.com)
(~) - which bash
/usr/local/bin/bash
Now I am making a simple bash script that would echo(print a string on my scren)
(manoj@linuxweblog.com)touch first_bash.sh
(manoj@linuxweblog.com)vi first_bash.sh

Syndicate content
Comment