Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-15-2011, 07:38 AM
|
#1
|
|
Member
Registered: Nov 2010
Posts: 93
Rep:
|
Shell Scripting
Hell Everyone,
I have done B.Tech in Electronics but I have interest in IT field. I am little bit familiar with linux networking, configuring servers, user management. I have heard that we can automate command execution with shell scripting and according to me that is basic shell scripting. I want to know which programming languages should I learn so that I can do advance shell scripting? Please explain in detail, if possible.
Thanx in Advance.
|
|
|
|
11-15-2011, 07:59 AM
|
#2
|
|
Member
Registered: Oct 2011
Distribution: Slackware, Fedora
Posts: 144
Rep: 
|
I'm not entirely sure what you're asking, but perhaps you could start here: http://tldp.org/LDP/abs/html/index.html
For getting started with shell scripting.
|
|
|
|
11-15-2011, 08:16 AM
|
#3
|
|
Member
Registered: Nov 2010
Posts: 93
Original Poster
Rep:
|
Thanx for reply Jenni. The link seems to be helpful. I will explore it. I am curious to know about shell programming. Which language should I learn so that I can learn shell scripting. I am not sure if it makes sense.
|
|
|
|
11-15-2011, 08:21 AM
|
#4
|
|
Member
Registered: Oct 2011
Distribution: Slackware, Fedora
Posts: 144
Rep: 
|
Well, you'll be dealing with bash most of the time on linux, so that's probably the best place to start. I'm not sure what other common shells are, but I've come across (t)csh (c shell) once or twice too.
|
|
|
|
11-15-2011, 08:22 AM
|
#5
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Quote:
Originally Posted by piyusharora420
Which language should I learn so that I can learn shell scripting. I am not sure if it makes sense.
|
Bash is one of the most common shells on Linux. It's the default shell on most Linux distributions.
|
|
|
|
11-15-2011, 06:31 PM
|
#6
|
|
Member
Registered: Apr 2009
Location: Seattle
Distribution: Arch, Crunchbang, Fedora
Posts: 38
Rep:
|
Shell scripting doesn't require a language. You are really just stacking individual commands in an order that makes sense and saving them so you dont have to type them over and over again. Most linux tutorials have introductory shell scripting introductions that you can get started with
This should keep you busy for awhile...
http://steve-parker.org/sh/intro.shtml
and when your done with that :
http://www.linuxjournal.com/content/...pting-language
Last edited by inoculos; 11-15-2011 at 06:34 PM.
|
|
|
|
11-15-2011, 06:36 PM
|
#7
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,963
|
Try these
http://rute.2038bug.com/index.html.gz - Linux at the cmd line, using bash
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html - bash beginners (quite comprehensive actually)
http://www.tldp.org/LDP/abs/html/ - bash advanced (as above); really just more techniques rather than more complex.
You'll need to learn the basics of a few other tools eg sed, awk, cut, find (v useful), etc ..
For more powerful scripting/programming, but without doing compiles & linking, try Perl
http://perldoc.perl.org/
http://www.perlmonks.org/?node=Tutorials
|
|
|
|
11-15-2011, 11:46 PM
|
#8
|
|
Member
Registered: Nov 2010
Posts: 93
Original Poster
Rep:
|
Thanks everyone. I got it now.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:50 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|