LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-30-2008, 10:04 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Smile Linux Programming


Hi Guys,

now that I have some experience with Linux I would like to learn basic Linux Programming and scripting. Can anyone give me an advice where to start? I have 0 programming experience other than Qbasic when I was about 9 years old! (long time ago)
Your help is greatly appreciated!
 
Old 06-30-2008, 10:09 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Can you clarify what you mean by "Linux programming"? There's a guide to Bash scripting here.
 
Old 06-30-2008, 10:21 AM   #3
gullit
LQ Newbie
 
Registered: Jun 2008
Posts: 21

Rep: Reputation: 15
You can start with a scripting language, for example python, there are several tutorials about python for free on the internet, on the other hand, if you want to put fun into your programming adventure you can try C
 
Old 06-30-2008, 10:45 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Nylex, what I meant was programming with Linux!
 
Old 06-30-2008, 10:49 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It's not really that different than programming on another operating system I'd imagine (obviously there will be some differences, however). Just pick a language and get a good book. I think it depends more on what exactly you want to do.
 
Old 06-30-2008, 11:15 AM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
thanks guys!
 
Old 06-30-2008, 03:19 PM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
My three pieces of advice were going to be:
  1. Python
  2. Begining linux programming (Wrox)
  3. Use the net. Search on 'linux' 'programming' and 'tutorial' (plus other terms) for example

I note that I'm not the first to say 'python', but I still wanted to say it anyway. As languages go, its quite 'clean' and consistent, which makes it a better place to start than, perl, say and yet it is sufficiently closely related to C/C++ that you could go to one of those afterwards without a great culture shock. And you can still do quite serious stuff with it.

The book is quite a good reference on the linux environment generally (also consider almost anything published by O'Reilly with an appropriate title).

Having said those two, there are loads of useful tutorials, guides and other documents scattered around the web. And generally that is free, where buying books isn't. And if your distro of choice has an 'install extra documentation' option, take it. There is often useful stuff hiding in there, too (howto's, etc).
 
Old 07-02-2008, 04:51 AM   #8
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by ceantuco View Post
Nylex, what I meant was programming with Linux!
Don't learn shell. It's awful. BASIC was much better
 
Old 07-02-2008, 05:52 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by resetreset View Post
Don't learn shell. It's awful. BASIC was much better
Why? Shell scripting is useful..
 
Old 07-02-2008, 06:45 AM   #10
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.

Shell scripting is only one of the scripting languages. It may have features that do not appeal to everyone, but it is indispensable for many aspects of *nix:
Quote:
To apply the Unix philosophy effectively, you'll need more than
just C in your toolkit. You'll need to learn how to use some of
Unix's other languages (especially the scripting languages), and
how to be comfortable mixing multiple languages in specialist
roles within large program systems.

The Art of UNIX Programming, Raymond, 2004, page 322
Best wishes ... cheers, makyo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration