LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PYTHON or Bash Shell Scripting? (https://www.linuxquestions.org/questions/linux-newbie-8/python-or-bash-shell-scripting-812159/)

latinmusic74 06-04-2010 11:03 AM

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?

alli_yas 06-04-2010 11:08 AM

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.

cheltz 06-04-2010 11:41 AM

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.

catkin 06-04-2010 11:53 AM

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.

latinmusic74 06-04-2010 11:58 AM

In shorts words Bash will be better.


All times are GMT -5. The time now is 05:36 PM.