Download your favorite Linux distribution at LQ ISO.
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 06-04-2010, 11:03 AM   #1
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
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
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
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198Reputation: 1198
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
Registered: Jun 2007
Posts: 118

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:39 PM.

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
Open Source Consulting | Domain Registration