LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-05-2006, 11:33 PM   #1
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
Linux programming language


I was learning PHP for awhile from a book and I got to understand most of the syntax and the structure of Programming if's and loops and all that stuff...

How similar is Linux shell scripting compared to PHP and basic programming syntax? What is a good book to get me writing my own scripts and customizing Linux alot?

Thanks for your help.
 
Old 06-05-2006, 11:35 PM   #2
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Original Poster
Rep: Reputation: 30
is Linux programming unleashed http://www.amazon.com/gp/product/067...lance&n=283155 any good?
 
Old 06-05-2006, 11:41 PM   #3
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Original Poster
Rep: Reputation: 30
Whats is the pros of learning Linux Kernel Development rather then Linux application developmenmt?
 
Old 06-05-2006, 11:56 PM   #4
daihard
Member
 
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912

Rep: Reputation: 32
Quote:
Originally Posted by soulxcavtor
Whats is the pros of learning Linux Kernel Development rather then Linux application developmenmt?
Are you planning on becoming part of the Linux kernel development team? Or maybe write your own OS kernel in the future? If so, learning the Linux kernel development would be very helpful (or I'd say even necessary). If you simply plan on writing applications that run on GNU/Linux, then knowing all the internals of the Linux kernel is probably not necessary.

Kernel development and application development differ greatly, IMO. The programming basics are always the same, but different tasks usually require different programming languages, different design/implementation approaches, and different levels of knowledge on different aspects of programming (i.e. UI design, system calls, etc).

My own suggestion would be for you to determine what you really want to do first. It's very hard to set your course of action without defining a clear goal.
 
Old 06-06-2006, 12:10 AM   #5
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Original Poster
Rep: Reputation: 30
I would like to learn how to create my own programs and scripts that performe important and time saving tasks.
 
Old 06-06-2006, 12:23 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by soulxcavtor
I would like to learn how to create my own programs and scripts that performe important and time saving tasks.
Two good references:
Bash guide for beginners--Machtelt Garrels ---avail at tldp.org
Classic shell scripting--O'Reilly ---at their site, Amazon, or most large bookstores

By the way--It is better to post one question and wait for answers.
 
Old 06-06-2006, 12:34 AM   #7
daihard
Member
 
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912

Rep: Reputation: 32
Quote:
Originally Posted by soulxcavtor
I would like to learn how to create my own programs and scripts that performe important and time saving tasks.
What are those important and time-saving tasks? Depending upon what they are and what they're supposed to do, people may have different recommendations.

For instance, if you'd like to do a batch file renaming, shell scripting would probably be the best. OTOH, if you want to create a database application that manages your CD collection, Qt + Python may better suit you.
 
Old 06-06-2006, 12:44 AM   #8
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Original Poster
Rep: Reputation: 30
Qt + Python it is, I want a programming language thats very flexiable.
 
Old 06-06-2006, 01:15 AM   #9
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
If you want flexible then look at Python or Ruby. Both those have binding for every library under the sun and are syntatically pretty basic. Shell scripting is a must just for general use if you want to make your life easier.
 
Old 06-06-2006, 01:23 AM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Alternatively, learing C or C++ will stand you in very good stead. Most Linux applications (infact most applications on Windows and Mac as well) are written in C or C++ or some derivative.

--Ian
 
  


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
programming language for linux dipenchaudhary Linux - General 1 02-03-2006 11:57 AM
Beginning Programming, What Language To Use For Linux sovietpower Programming 21 02-11-2004 09:44 PM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 07:12 AM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration