Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
10-23-2016, 08:24 AM
|
#1
|
LQ Newbie
Registered: Oct 2016
Posts: 1
Rep:
|
scripting
i want to learn scripting so please help me how to start
|
|
|
10-23-2016, 08:58 AM
|
#2
|
Member
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392
Rep:
|
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).
|
|
|
10-23-2016, 09:00 AM
|
#3
|
Member
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419
Rep:
|
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.
|
|
|
10-23-2016, 10:33 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,418
|
Quote:
Originally Posted by abhiranjan0404
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.
|
|
|
10-23-2016, 11:49 AM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Step0: fix topic.
|
|
|
10-24-2016, 07:22 PM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
#!/bin/sh
|
|
|
All times are GMT -5. The time now is 12:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|