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.
Could you describe your use case?
* If it's something that will be embedded in HTML (which is the base for web pages), use google with "javascript tutorial";
* if you want a scripting language in an application (assuming you can code in C/C++ in that project), use google with "lua tutorial"
[I personally like mruby for this, and the lisp family of languages is interesting for advanced coders];
* if you want to script applications that are interpreted on the fly (e.g., for mass file operations or just an application that doesn't need the advantages of other, "bigger" languages), there are many options for Linux: Bash (not a good language, but the shell accepts it even as a REPL), Perl, Python, Ruby. (I hope I got the most important ones, you can use google with "linux scripting languages", there will be good results, I garuantee it).
Decide what language you want to learn, probably but not necessarily bash, google for an online tutorial, complete that which will give you enough to at least go to a book store or Amazon and get a book on using the language you have chosen. Actually you can probably find enough by googling various problems, errors or objectives to avoid the cost of purchasing a book unless you want to become a real professional. If you need to ask for help be far more specific than 'help me' about what you want and explain what you have done to help yourself that has proven to be insufficient.
i want to learn scripting so please help me how to start
Read the 'Question Guidelines' link in my posting signature. We can help with specific problems/questions, but nothing like this. Since you probably found this site with an Internet search, I would suggest you start by putting "how to learn linux scripting" into that same search engine, and start reading. The VERY FIRST HIT is a beginners tutorial.
Please, don't ask folks to look things up for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.