Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-24-2011, 04:35 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled

hello friends. i want to know why Linux administrator required knowledge of shell programming or Perl programming...? in these two programs which one good for system administrators. . ?

Thank You.
Old 11-24-2011, 04:53 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
a hell of a lot of systems administration is scripting. joining up dots etc. Shell is the most important, but then languages like perl or python become very very useful too.
Old 11-24-2011, 05:11 AM   #3
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
In my service desk role we tend to encounter issues that happen regularly enough for me to create us scripts to use. I imagine a sys admin would encounter situations like this 10fold. Essentially scripting makes your job easier and more efficient.

I know of situations where simple things are required in mass volumes and as such a tiny script helps. For example, when we were experiencing some network issues we were asked to perform a series of tasks, copy/paste the output and then submit the output. Doing this as a once off isn't too bad, takes about 20mins but at the time we were getting A LOT of calls. Spending 20mins on each one wasn't viable so I made a simply script that done the commands and output the data into a text file. We ran the scripts remotely through PSEXEC and we got it down to a couple of mins a call.

Another example I remember reading a while ago somewhere was that someone needed to update thousands of documents. It wasn't anything too dramatic, essentially they needed to search and replace a phrase and the script that he put together obviously greatly reduced their time. Scripting in general is also to perform menial tasks automagically. Things like backups, clearing temp files and all that are done behind the scenes.

Lastly, in answer to your question: Both

Last edited by basica; 11-24-2011 at 05:16 AM.


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
LXer: Scripting the Linux desktop, Part 2: Scripting Nautilus LXer Syndicated Linux News 0 02-17-2011 05:02 AM
Firefox Scripting Add-on (Scripting HTML / Javascript inside Firefox) linuxbeatswindows Programming 1 09-18-2009 11:09 PM
Scripting help please Decorte Linux - Newbie 3 10-21-2007 07:31 PM
teaching shell scripting: cool scripting examples? fax8 Linux - General 1 04-20-2006 05:29 AM
HELP!! with scripting eggoz Linux - General 1 04-25-2003 08:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 AM.

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