Understand Linux Shell and Basic Shell Scripting Language Tips – Part I

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

67 Responses

  1. sashank says:

    a good to start articles for beginners like me.

  2. Victor1 says:

    I was confused about the first script that you have in this post why you have to read the variables as ‘a’ or ‘b’ and not ‘$a’ but when you output them you write the $ symbol next to them. I think there should be more explanation about this.

    Also, another thing that I noticed is that in the first script: you have this:
    echo “Hello $USER”
    echo “Hey i am” $USER “and will be telling you about the current processes”

    why in the first echo you surround $USER with double quotes and not in the second echo?

    Why in the third script you have lines ending with ; and some of them that don’t like:

    echo “Thanks Mr./Mrs. $a $b for telling us your name”;
    echo “*******************”

    Thank you

    Great website and great tutorial by the way.

    • Avishek Kumar says:

      @victor1
      The first variable is stored in a and the later in b,
      we can use the variable the way we want.

      read a will wait for the user to get input and will store in the variable a. Similar is the condition with variable b, in the above post.

  3. Hi,

    Thanks for this beginners tutorial :) I will continue to explore your blog.

    Thanks

  4. vicdeveloper says:

    Great.

    Thanks for an amazing tutorial dude.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 75000+ Linux Users
  1. 51334
  2. 2657
  3. 16705

Enter your email to get latest Linux Howto's