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 04-26-2010, 10:33 AM   #1
sambuca
LQ Newbie
 
Registered: Oct 2008
Distribution: Suse, Ubuntu
Posts: 13

Rep: Reputation: 0
What scripting/language to focus on?


So for example, I uses VBscript to script out my tasks in Windows, and more recently PowerShell.

From a Linux Admin's point of view, what scripting would he/she need to know? Would being proficient in Bash be sufficient or should you supplement that with something else? (if so, what is that something?)

Last edited by sambuca; 04-26-2010 at 10:41 AM.
 
Old 04-26-2010, 10:47 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
PowerShell looked very cool; not easy to learn but nice; how were your experiences? I only dabbled and then switched to Linux.

Getting back on topic, so much of Linux (strictly "Linux-based distro" because Linux is "only" the kernel) is written in shell script that a sysadmin without shell script is like a bird without wings and bash is pretty much essential, or at least the POSIX-ish subset of it.

As ever, it's "horses for courses" and bash is not good for everything but, being a command shell its shortcomings can mostly be made up for by using other tools within bash such as awk, bc, sed and tr.

PERL and python are popular too but I've got by without them for a while now.

Last edited by catkin; 04-26-2010 at 10:48 AM. Reason: typodynamics
 
Old 04-26-2010, 10:50 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,188

Rep: Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405Reputation: 4405
Quote:
Originally Posted by sambuca View Post
So for example, I uses VBscript to script out my tasks in Windows, and more recently PowerShell.

From a Linux Admin's point of view, what scripting would he/she need to know? Would being proficient in Bash be sufficient or should you supplement that with something else? (if so, what is that something?)
That "something" could be ANYTHING. For shells, there's bash, csh, ksh, and tcsh. All a bit different from each other. There's perl, ruby, python, and tcl also.

For Linux, figure out what you want to DO first, then use the best tool to do it. There are no hard and fast answers.
 
Old 04-26-2010, 01:40 PM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
For Linux, figure out what you want to DO first, then use the best tool to do it. There are no hard and fast answers.
True, but since bash is so very common in Linux environments, I'd say it's a good starting point. Some places tend to use (t)csh instead, but I don't think I've seen more than one that didn't have bash as an option. Like said, with the small knives and forks like awk there's not much you cannot do with it. When that happens, many grab either perl or python, but at that point you're pretty much free to choose whatever you either already know or are eager to learn (i.e. there are no "bad" options as such).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is the best scripting language? kike_coello Programming 22 07-25-2009 05:16 PM
event.d scripting language? Hourani Linux - Newbie 3 02-02-2009 04:39 PM
Best scripting language? walterbyrd Linux - Software 2 01-08-2006 02:13 PM
Which Scripting Language? birdseye Programming 2 10-03-2005 09:54 AM
Choosing a scripting language joeljkp Programming 5 10-27-2004 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:19 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