LinuxQuestions.org
Help answer threads with 0 replies.
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 01-06-2012, 11:07 AM   #1
OmegaMan
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Question concerning scripting language preference.


Hello All!

Just wanted to take a quick survey of the scripting, or programming languages that are most often used for day to day administration of linux systems? Shell scripting is the obvious one. But I was curious what other languages the linux admin community here finds useful? Perl? Ruby? C?

I'm starting down the path of more formal system administration duties and am looking at developing custom tools for the tasks ahead of me.

Thanks!

K
 
Old 01-06-2012, 01:07 PM   #2
nprezident
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by OmegaMan View Post
Hello All!

Just wanted to take a quick survey of the scripting, or programming languages that are most often used for day to day administration of linux systems? Shell scripting is the obvious one. But I was curious what other languages the linux admin community here finds useful? Perl? Ruby? C?

I'm starting down the path of more formal system administration duties and am looking at developing custom tools for the tasks ahead of me.

Thanks!

K
im not a linux admin but i find python is useful to use on linux
 
Old 01-06-2012, 01:23 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I use Perl routinely. If I was looking for a language to do the same/similar things today, I would choose Python. C is rarely useful for system admin tasks.
--- rod.
 
Old 01-06-2012, 03:48 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Bourne shell and Perl solve 95% of my technical problems. (It gets complicated for the remaining 5%. For webapps I use PHP. For rare, specific utilities, I use C. When absolutely necessary - usually to play nice with someone else's APIs - I use Python and Java. I have found nice uses for Expect/TCL here and there.)
 
Old 01-06-2012, 05:44 PM   #5
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,842

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
ditto

Bash (occasionally KORN-ksh on AIX, True64Unix, SOLARIS, and HP-UX) is my daily tool for most SA functions.

Where it is appropriate, PERL is my goto tool: for jobs that do not require calling external utilities.

C and Pascal serve for when I need to create a new utility, but that need is getting quite rare as the GNU and associate toolsets have become VERY complete and powerful.

I have stopped using FORTRAN, COBOL, zsh, Modula-II, BASIC, Pilot, and FORTH: as they are no longer properly supported on most modern systems. I have not touched a decent assembler in years, and miss them terribly, but I have not the personal time or business case to maintain those skills.

I have examined python, php, ruby, and smalltalk (which impressed me), and lisp (probably a few others I have forgotten) and java, but found none that provided more value ( related to my work) that my current tools.

If we get any SA that is doing web development, I suspect your answer set will be significantly different than the answers from those who no longer do (or never have done) web development. There are different tools that have power in that space.
 
Old 01-06-2012, 05:58 PM   #6
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
I use bash and awk daily. In my estimation every Linux admin should be competent with at least bash, sed, and awk. Beyond those, look to perl, python, and C.

 
Old 01-06-2012, 06:08 PM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I would think basic shell script knowledge would be ok for admin, I mean in reality the admin doesn't do a lot of programming tasks, he uses admin tools
 
  


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
Linux preference question linuxmarine Linux - Newbie 4 10-18-2004 03:46 PM


All times are GMT -5. The time now is 02:20 AM.

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