Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So for example, I uses VBscript to script out my tasks in Windows, and more recently PowerShell.
From a Linux Admin's point of view, what scripting would he/she need to know? Would being proficient in Bash be sufficient or should you supplement that with something else? (if so, what is that something?)
PowerShell looked very cool; not easy to learn but nice; how were your experiences? I only dabbled and then switched to Linux.
Getting back on topic, so much of Linux (strictly "Linux-based distro" because Linux is "only" the kernel) is written in shell script that a sysadmin without shell script is like a bird without wings and bash is pretty much essential, or at least the POSIX-ish subset of it.
As ever, it's "horses for courses" and bash is not good for everything but, being a command shell its shortcomings can mostly be made up for by using other tools within bash such as awk, bc, sed and tr.
PERL and python are popular too but I've got by without them for a while now.
Last edited by catkin; 04-26-2010 at 10:48 AM.
Reason: typodynamics
So for example, I uses VBscript to script out my tasks in Windows, and more recently PowerShell.
From a Linux Admin's point of view, what scripting would he/she need to know? Would being proficient in Bash be sufficient or should you supplement that with something else? (if so, what is that something?)
That "something" could be ANYTHING. For shells, there's bash, csh, ksh, and tcsh. All a bit different from each other. There's perl, ruby, python, and tcl also.
For Linux, figure out what you want to DO first, then use the best tool to do it. There are no hard and fast answers.
For Linux, figure out what you want to DO first, then use the best tool to do it. There are no hard and fast answers.
True, but since bash is so very common in Linux environments, I'd say it's a good starting point. Some places tend to use (t)csh instead, but I don't think I've seen more than one that didn't have bash as an option. Like said, with the small knives and forks like awk there's not much you cannot do with it. When that happens, many grab either perl or python, but at that point you're pretty much free to choose whatever you either already know or are eager to learn (i.e. there are no "bad" options as such).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.