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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-17-2001, 06:26 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2001
Posts: 5
Rep:
|
Which programming language
Hi again, I have another real newbie question:
As I am completely new to Linux/Unix but really would like to learn it, my question is where to start with programming, which language do you recommend to start with, for scripts etc.
Thank you
Thomas
|
|
|
|
08-17-2001, 07:33 AM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
You might want to look into C, for scripting and definitely Perl. There are so many that you can use. What are you looking into when using Linux? Are you looking more for program creation or web design, that should give you the best idea on what languages you should focus on.
|
|
|
|
08-17-2001, 03:13 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2001
Posts: 5
Original Poster
Rep:
|
The first focus is on writing some small scripts and/or programs to automate stuff on the system, can you do this with perl?
I'm sure you can do everything with C, but I would like some kind of "quick and dirty" script language do get some fast success, and after that go into detail, like e.g. Visual Basic in Windows, you know, buy a book, read it in two days and write you're software... (Sorry for this, but it's only to start with...  )
|
|
|
|
08-17-2001, 03:20 PM
|
#4
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
you should be able to use perl to write some scripts for some automated tasks or whatever....
|
|
|
|
08-17-2001, 03:39 PM
|
#5
|
|
Senior Member
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Rep:
|
perl's a good starter script language, but i would still second tricky's recommendation that you try out c. perl's definitely a good language to have under your belt, tho.
|
|
|
|
08-17-2001, 03:39 PM
|
#6
|
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
Quote:
Originally posted by top111
would like some kind of "quick and dirty" script language do get some fast success
|
Sounds like you've just describe Perl to me  Mind you its not really dirty - just quick...
Jamie...
|
|
|
|
08-17-2001, 03:41 PM
|
#7
|
|
Member
Registered: Aug 2001
Location: UK
Posts: 48
Rep:
|
Quote:
Originally posted by top111
The first focus is on writing some small scripts and/or programs to automate stuff on the system, can you do this with perl?
|
If you want to automate stuff, then you would use BASH (the shell that interprets all your commands). Use the man page on BASH, and there are a couple of HOWTOs that take it further.
If you want to process text (e.g. analysing log files, or re formatting output to printers, or converting text files, or...) then definitely use Perl.
The key is to be sure that you know what you want to do. Then choose the language to suit the task.
Joe
|
|
|
|
08-18-2001, 08:38 AM
|
#8
|
|
Member
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132
Rep:
|
Try Python
Perl is the King of One-liner's; quick; efficient.
But you can't write REAL, efficient programs with it.
I recommend Python if you are a COMPLETE newbie to programming. It is a non-one-liner language; a more constructive one.
http://www.python.org
|
|
|
|
08-22-2001, 07:21 PM
|
#9
|
|
Member
Registered: Jul 2001
Location: California
Distribution: Red Hat 7.1, Slackware 8.0
Posts: 216
Rep:
|
GO WITH PYTHON!
GO WITH PYTHON!!!!! It's a very nice language. From what I can see, it's one of the best. This is because of several reasons:
Python is VERY powerful
Python is EASY!
Python is FREE (but so is PERL)
if you just want to do simple little projects, or put some CGI scripts on your webpage, PERL is fine, but if you want to write an office suit, or something like that, then go with Python. As Double letter has done, here is the webpage (again) for python:
<a href=http://www.python.org>Python.org</a>
Oh, and if you haven't already, learn HTML. It's good to be able to casually write it, too. It's also extremely easy!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:33 PM.
|
|
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
|
|