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.
There are more shell scripting tutorials around than you can shake a stick at. It is a little hard though to sort the good ones from the not so good ones. This one seems ok but has a little bit long introduction:
I'd recommend learning bash, which is usually the default. zsh and ksh should also be fairly compatible. But keep an eye on the bare POSIX shells such as dash. Use one of them for scripting when you can.
You'll get the most practice if you run natively. So I'd also recommend upgrading the desktop or notebook you are using to Linux Mint or Ubuntu, if it does not already have a distro "on bare metal". If you need legacy systems, they can be run better in a VM with snapshots to save the last known good version.
I have been using linux from past few months and can anybody suggest how to start writing shell scripts an any sites which helps in this.
The links on bash scripting offered by aragorn2101 and Turbocapitalist are either exact ones which I would've offered, or fairly close.
I also have an old blog entry on bash scripting if you wish to read some techniques about debugging shell scripts.
Start reading shell scripts, especially the examples shown in the beginners guide to bash scripting, and start writing your own scripts.
Use the Programming forum to aid you with your script questions as you proceed with your attempts. Please be aware that if you do nothing and merely ask for scripts, you'll receive responses asking what you have tried.
Quote:
Originally Posted by sampy12345
Also help me in sharing a site which will be helpfull in learning linux indepth
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.