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.
As you get familiar with Linux and learn to do different things, you will discover if you need to learn shell scripting. It all depends on what you want to do.
An advantage of Linux is the really powerful command-line. A disadvantage is that it is not something you learn overnight.
Regardless of whether you ever write a script, I recommend reading "Bash Guide for Beginners" by Machtelt Garrels. Free at http://tldp.org
Another nice location is linuxcommand.org for shell scripting things. Like said, knowing shell scripting isn't necessary for a Linux user, and learning shell scripting doesn't necessarily mean you need to be a Linux user. That's because the shells for which you create scripts (note that depending on the script contents, it might or might not work with all shells) aren't Linux-only: if you know how to write scripts for Linux, you know the basics of how to write them on other platforms as well (like Unix, or Windows -- it's common to use "scripts" or batch files in the latter one too). Knowing how Linux works helps getting the result done (in the script), and on the other hand knowing how to script may ease the use of Linux in some cases (depends a lot what you're doing). But I don't think either one depends on the other one more than just a little.
In my opinion it's healthy for anyone to know the basics of shell scripting, or whatever it is called in the environment in question. Graphical interfaces may make life easy, but often they just can't do what scripts can - automate, batch-process, ease up and easily modify a task that has several steps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.