LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-04-2010, 11:03 AM   #1
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 16
PYTHON or Bash Shell Scripting?


I do not know how to write either PYTHON or Bash Shell Scripting. I am to learn one for Linux Administration purpose. Which one will you recommend for a Linux Admin/Eng environment?
 
Old 06-04-2010, 11:08 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Its really a matter of preference. Both are powerful enough to to most things that an admin would want to do - but for pure Linux Admin I'd recommend bash.
 
Old 06-04-2010, 11:41 AM   #3
cheltz
Member
 
Registered: Apr 2010
Posts: 62

Rep: Reputation: 2
Exactly, either will do the same job but its just a matter of preference.
Some say Python is easier but I have not found that to be accurate.
 
Old 06-04-2010, 11:53 AM   #4
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
Linux distros' boot scripts and many system utilities are in bash (or sh which is a subset of bash for present purposes). Linux sysadmins sometimes modify them and often need to understand them for problem investigation. The same cannot be said about python. IMHO bash is essential for a Linux sysadmin and python is optional.
 
1 members found this post helpful.
Old 06-04-2010, 11:58 AM   #5
latinmusic74
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 16
In shorts words Bash will be better.
 
  


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
Help with Bash shell scripting HLM01 Linux - Newbie 7 01-31-2008 05:23 PM
BASH Shell Scripting tekmann33 Linux - General 4 02-08-2007 06:03 PM
Bash shell scripting Sco Linux - Newbie 1 11-09-2004 12:58 PM
Shell Scripting/Python/C MCD_Thom Linux - Newbie 4 11-09-2004 12:40 PM
Python and shell scripting nixdisciple Programming 3 06-07-2002 08:27 AM


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