LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11:04 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 588

Rep: Reputation: 37
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, 11: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, 11: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, 11:45 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 588

Original Poster
Rep: Reputation: 37
Nylex, what I meant was programming with Linux!
 
Old 06-30-2008, 11: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, 12:15 PM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali
Posts: 588

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

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
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, 05: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, 06: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, 07:45 AM   #10
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 728

Rep: Reputation: 74
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:35 PM


All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration