LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-20-2012, 01:55 AM   #1
keennix
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3

Rep: Reputation: Disabled
Question [ASK]How to learn Linux System Programming? Any Advice?


Hi, Sorry for my bad grammar.
I'm here to ask some advice to learn Linux System Programming, actually I was at programming world since 8 years ago with various programming languages at Win32. But since past few years I was migrate to Linux, and I quite confused with how can I learn how to program at Linux. I tried to open some Linux program source code like ls, cat and something like that, but I still can't understand. I asked this to several forums but the answer I got is like 'learn C' or 'Start with Python' actually I'm asking for the System Programming like Win API at Windows. Where I should start? And If you have any resource on that please share it.

Thanks for your help.
 
Old 07-20-2012, 03:32 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
ls, cat, etc. are based on standard C library, so first is learning that. There is so many libraries, helping with programming (for ex. ncurses for controling terminal), that you just need to search what you want to achieve. If you looking for programming of graphical application (like Win API) you first need to choose which toolkit you want to use, main are GTK and Qt. I only known Qt, so if you choose that I suggest you to use QtCreator from nokia site (just download whole SDK for simplicity) or get it from your repository. This tool allow you to program console application too.
 
1 members found this post helpful.
Old 07-20-2012, 03:59 AM   #3
keennix
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks eSelix, that's really helpful. Well I've another question, I Googled for some papers about C Standard Library, but most of them are just gave me bunch of functions, well actually I find it's quite hard to understand. Do you have some recommendation for some step-by-step tutorial how I can use those libraries, or some papers maybe.
 
Old 07-20-2012, 04:34 AM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.
 
Old 07-20-2012, 05:36 AM   #5
keennix
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint and Debian
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by eSelix View Post
Well, detailed description of each functions is everything I need to program, so I don't known where you can get better informations, maybe other members have good links. Did you saw this page, there are good explanation and sample codes? If you programmed 8 years on Windows you should be familiar with most of these functions, because this is "standard". And WinAPI also has similary named functions.
Yes about those functions. About networking it's almost the same, and IO it's also indentical. But the others I mean, like fork() I never heard of it before. But I found some good stuffs and some papers by the way, for this kind of functions. Thanks for your advice about the library gave me pointer where I should search and what I should search on Google. Thank you very much.
 
  


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
how to learn linux programming? navy319510 Linux - Networking 6 01-28-2009 04:51 AM
Newbie advice on how to learn Linux J_K9 General 3 06-21-2005 01:21 PM
How to learn programming in linux my-unix-dream Linux - Newbie 3 04-19-2005 03:19 AM
I want some free source programs to learn on system programming Gopal Linux - General 3 06-07-2003 07:45 AM

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

All times are GMT -5. The time now is 09:03 PM.

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