My Space

January 31, 2008

Thinking for shell scripting? Start with Unix

Filed under: My Personel View — Mayank @ 8:06 am
Tags: ,

To achieve a target/goal, directions and instructions plays very vital role for your success. As I’ve written in my previous post that I’ve started learning shell programming. So I am preferring two books for that; one is Unix Shell Programming and one book of Sumitabha Das. I have started through Sumitabha Das but afterward I shifted over to Unix Shell Programming book. After reading couple of chapters, I directly jumped to shell programming chapter and started reading the programing tact. I thought that after finishing this I will be able to write some script. But I was wrong; came to know through one my friend who practiced linux system administration in Satyam. He suggested that basic is first brick of any strong building so first learn unix and after that learn shell scripting. It will give you robust start in shell programming. So now I’ve totally focused on Unix.

“In your way one instruction and direction can change everything”

17 Comments »

  1. For me learn ->code -> learn does not suit i believe on code-> learn ->code let something make it happen by coding or copy and pasting :) . but i do agree with your approach . its good to listen to others but for me Unix learning is not much important for shell scripting its like you are deviating from you goal for me hitting the target with asap approach is more important

    so i will suggest do focus on shell rather than Unix keep, it as you secondary if some body have asked for medicine so should not go to formulate it and then make it then give him , if some thing is there use it :)

    Comment by uday pratap — January 31, 2008 @ 8:39 am | Reply

  2. Shell programming is very easy language.

    Comment by Nidhika — January 31, 2008 @ 8:40 am | Reply

  3. Hey Uday,

    Thanks for your valuable comments.

    May be your point is correct but I think it is applicable for those, who known the Unix.
    I worked in windows only that is why I chosen this way.

    Thanks,
    Mayank

    Comment by Mayank — January 31, 2008 @ 8:46 am | Reply

  4. Nice mayank to start with unix instead of scripting. Shell scripting is a part of unix. Unix is a basic. Without basic we can not proceed. There are different types of shell scripts.
    You have mentioned two books for reference. In that for one book u have given only the name but not the author, in other u have given only the author but not the name of the book. It would be good if u mentioned both name and author for a book.

    Comment by Raj's blog — January 31, 2008 @ 9:48 am | Reply

  5. Thanks Prethesh,

    Sure I will update with book name as well as author very soon

    Love,
    Mayank

    Comment by Mayank — January 31, 2008 @ 9:58 am | Reply

  6. Well I agree with Udaya to say that start with SHELL scripting directly if one can practice that even in thin air of our atmosphere. Well (for Udaya) you need to have an OS to start with where ur shells works and without knowing the OS the SHELL is useless. Think of a situation where u know how to write a script but you dont know how to work with OS and its commands, What one would do with this knowldge?
    Suppose u are given Novell Netware and u have no idea about, now try and write a SHELL Script and see how it works.

    Well Mayank its good to have a base first, because it is a career that will last i think for next 30 years so better strong at the foundation rather than suffering later.

    Regards
    Rahul

    Comment by Rahul — January 31, 2008 @ 10:30 am | Reply

  7. well rahul

    thanks that you do agree with me up to some extent, but this my real time life experience . I am electronics and communication student and when i started my carrier with software i was not knowing objects ,classes,and many other concept of opps but i never went to book and seen it , I started coding and as time passed i got good skill in all these things and do suggest to people face the problem not dig the problem and find route.
    for me life is give and take not take take and some time give i hope my point is clear
    so first generate the problem and discover the solution :)
    my life will move around this policy :)

    Comment by uday pratap — January 31, 2008 @ 10:50 am | Reply

  8. Hey,
    You can start either by learning the shell script directly or by learning Unix first. But there is difference in both the approaches. If u start shell script directly, u may forget it as time goes on.
    When U start with Unix and then Shell Script, you will have a strong fiundation at last.
    All the best :)

    Comment by svidhya — January 31, 2008 @ 10:53 am | Reply

  9. Different approaches for one thing

    Comment by Mayank — January 31, 2008 @ 10:57 am | Reply

  10. Thanks Sri,

    For valuable comment.

    Mayank

    Comment by Mayank — January 31, 2008 @ 10:58 am | Reply

  11. Hi Mayank,

    With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks.

    Its a good start.
    Keep going………:)

    Comment by Synthia — January 31, 2008 @ 11:11 am | Reply

  12. Well Udaya those Programming languages are different from SHELL. They do not require much from the OS, but a SHELL is an environment which has alot to do with the OS. Without OS concept on which u need to work its hard to design a script. Many features of the OS need to be used. Well it does not have an easy GUI where u can drag and drop just like what JAVA has. Well u can find varied experienced user on the net and there way of referening how to design a SHELL Script. An OS knowldge is a must.

    Comment by Rahul — January 31, 2008 @ 11:15 am | Reply

  13. I am going to bring back this website once again. Hope to start it soon and going to expect comments from u all.

    Regards
    Rahul

    Comment by Rahul — January 31, 2008 @ 11:25 am | Reply

  14. Well the site is http://rahulhacks.wordpress.com

    Comment by Rahul — January 31, 2008 @ 11:26 am | Reply

  15. Sure Rahul we will wait for that. It will be very nice if you write about Shell Scripting.

    Comment by Mayank — January 31, 2008 @ 11:29 am | Reply

  16. hi mayank,

    Thanx for posting this valuable information on shell scripting n Unix.
    basically now i ll start with Unix first.
    i tryed shell scripting but didn’t got much success may be this explain a lot to me now.

    Anshul

    Comment by Anshul Nirajnajan — May 20, 2008 @ 9:27 am | Reply

  17. how can i start my first shell programmin ??

    Comment by remz — November 11, 2008 @ 9:57 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.