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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-21-2009, 05:34 PM
|
#1
|
LQ Newbie
Registered: Apr 2009
Posts: 5
Rep:
|
Linux Programming
Hi All,
I am learning Linux Administration, also I am a RHCE. And want to know about Linux shell scripting.
I want to move towards Linux scripting, so I just want to know that, which programming language is used for scripting mostly in Linux.
And as a beginner which programming language should I start learning.
Is there any institute in India which provides Linux scripting curses?
Thanks in advance
Brijesh Kumar
|
|
|
12-21-2009, 06:28 PM
|
#2
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
You are RHCE and you don't know how to shell script? You are RHCE certified and you're learning system Administration?
How does someone become RHCE and not know these things?
|
|
|
12-21-2009, 06:29 PM
|
#3
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
By The way, most shell sscripts are written in BASH. However I wold look into perl or python scripting as an alternative.
|
|
|
12-21-2009, 07:51 PM
|
#4
|
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
|
Quote:
Originally Posted by worm5252
By The way, most shell sscripts are written in BASH. However I wold look into perl or python scripting as an alternative.
|
but its probably best to learn bash first. its the native script.
|
|
|
12-21-2009, 08:13 PM
|
#5
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,827
|
I would not agree with the opinion regarding "bash."
Linux/Unix environments give you many scripting tools to choose from: Perl, PHP, Python, Ruby, awk, and many more. All of them can be used to create scripts, because when you execute any command, the shell looks for "#!commandprocessor" (called 'shebang') in the first few characters of the command file. It then invokes the appropriate command-processor.
Realistically speaking, you're going to encounter many different scripting tools in-use, and you're simply going to have to surf the Internet to find out more about each of them. You won't be able to "become an expert" on all of them, but you will need to acquire an awareness of what's going on.
I don't think that you can simply expect to "go to school on it," nor to find "training." The subject is too broad. You need to master self-education. You are going to constantly be confronted with "things that you have never exactly seen before," and you need to master the survival-skill of "always landing on your feet, no matter what."
|
|
|
12-22-2009, 07:18 AM
|
#6
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,948
|
Hi,
Guys, bash (bourne again shell). If you are going to script in 'bash' then you had better learn the shell.
Generally speaking a GNU/Linux distribution uses scripting in some form to configure, install or just plain maintain the install. Most admins find the use of scripting initially to perform a required task(s) then if speed becomes a factor then a higher level language is then used to formulate the task(s). Yes, assembly is still used by some but the portability isn't what a 'C/C+' or the like would be.
So for the OP to learn scripting with 'bash' would open doors to most modern GNU/Linux distributions.
Just a few links ;
Linux Documentation Project
Rute Tutorial & Exposition
Advanced Bash-Scripting Guide
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Virtualiation- Top 10
The above links and others can be found at ' Slackware-Links'. More than just SlackwareŽ links!
Last edited by onebuck; 12-22-2009 at 07:19 AM.
|
|
1 members found this post helpful.
|
12-22-2009, 07:21 AM
|
#7
|
Senior Member
Registered: Sep 2007
Posts: 1,045
Rep:
|
Quote:
Originally Posted by Brijesh Kumar
Hi All,
I am learning Linux Administration, also I am a RHCE. And want to know about Linux shell scripting.
I want to move towards Linux scripting, so I just want to know that, which programming language is used for scripting mostly in Linux.
And as a beginner which programming language should I start learning.
Is there any institute in India which provides Linux scripting curses?
Thanks in advance
Brijesh Kumar
|
http://www.google.com/search?hl=en&q...&aq=f&oq=&aqi=
|
|
|
12-22-2009, 11:31 AM
|
#8
|
Member
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Rep:
|
Quote:
Originally Posted by worm5252
You are RHCE and you don't know how to shell script? You are RHCE certified and you're learning system Administration?
How does someone become RHCE and not know these things?
|
Very good question, worm5252. Wondering the same thing myself.
If you are mainly doing system admin, I probably recommend bash and Perl as your most powerful tools, though I've heard a lot of employers are looking for Python expertise as well.
If you have time, wouldn't hurt to learn a little C/C++ to help you patch code when necessary.
|
|
|
All times are GMT -5. The time now is 04:57 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
|
|