LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-21-2009, 06:34 PM   #1
Brijesh Kumar
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
Question 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
 
Old 12-21-2009, 07:28 PM   #2
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
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?
 
Old 12-21-2009, 07:29 PM   #3
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
By The way, most shell sscripts are written in BASH. However I wold look into perl or python scripting as an alternative.
 
Old 12-21-2009, 08:51 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by worm5252 View Post
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.
 
Old 12-21-2009, 09:13 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,343

Rep: Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298Reputation: 2298
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."
 
Old 12-22-2009, 08:18 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,588
Blog Entries: 25

Rep: Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973
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 08:19 AM.
 
1 members found this post helpful.
Old 12-22-2009, 08:21 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by Brijesh Kumar View Post
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=
 
Old 12-22-2009, 12:31 PM   #8
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Quote:
Originally Posted by worm5252 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration