Page 1 of 1

Any good books to learn basic advanced programming for linux

Posted: Mon Jun 23, 2014 1:15 pm
by jinutminx
Can u suggest any good books to learn basic to advanced level of programming for linux. Are any such books available which after reading would give me an idea on how to write code for drivers, networks, etc in linux? Thanks

Re: Any good books to learn basic advanced programming for l

Posted: Wed Jul 02, 2014 12:47 pm
by computer noob
It depends on what programming language you want to learn. I am a complete newbie to programming, and this book has been great for teaching me C++ http://www.cprogramming.com/c++book/?inl=nua

Re: Any good books to learn basic advanced programming for l

Posted: Wed Jul 02, 2014 2:27 pm
by DrHu
I don't know what advanced will mean to you, but there are some basic decisions that can be made

A good recommendation is to start with bash or JavaScript scripting or one of the standards in the OSS world
--such as Python
https://wiki.python.org/moin/Integrated ... vironments

By the way, Mint uses Python when the installer runs
http://www.tuxradar.com/python

https://wiki.python.org/moin/Integrated ... vironments
http://pythoncentral.org/comparison-of- ... velopment/

Re: Any good books to learn basic advanced programming for l

Posted: Thu Jul 03, 2014 6:34 am
by xenopeek
Writing drivers and such all sounds like kernel level programming, so your one stop resource would be the kernel newbies site: http://kernelnewbies.org/. It has a list of documents, including up-to-date books. Join their community and ask there for more guidance on how to get started I think.

Re: Any good books to learn basic advanced programming for l

Posted: Sat Jul 05, 2014 11:52 am
by jinutminx
guys, thank u all for ur suggestions. I am currently reading these 2 books: Assembly Language: Step-by-Step by Jeff Duntemann and Programming from the Ground Up by Jonathan Bartlett. Please tell me if these books would help me in my quest?

Re: Any good books to learn basic advanced programming for l

Posted: Tue Jul 08, 2014 12:08 pm
by wanderer7
jinutminx wrote:guys, thank u all for ur suggestions. I am currently reading these 2 books: Assembly Language: Step-by-Step by Jeff Duntemann and Programming from the Ground Up by Jonathan Bartlett. Please tell me if these books would help me in my quest?
Tell us what programming languages you know already, your experience etc. And also, tell us what you want to do. You'll need to know C, in my opinion. But knowledge of programming languages alone won't be enough, you'll have to learn linux itself and how operating systems work.
Good news - linux is free and open source. You are free to view the source code and believe me, just reading the source code and playing with the kernel will teach you more, than any book in the world would. I'm not saying that books are useless, but books can't teach you everything. So, learn C, linux and its code. There are other free/open source kernels/OS-es as well: GNU Hurd and Minix for example.
xenopeek gave you a good link. Here's another link: https://kernel.org/

Re: Any good books to learn basic advanced programming for l

Posted: Sun Jul 13, 2014 5:33 am
by wanderer7
If you already know some programming languages, then Eudyptula Challenge might be helpful too.
links:
http://www.linux.com/news/featured-blog ... -challenge
http://eudyptula-challenge.org/

Re: Any good books to learn basic advanced programming for l

Posted: Sun Jul 13, 2014 6:18 am
by 1.618
Here are some links that got passed along to me when i was looking into learning some programming

http://www.cplusplus.com/ website is a great place for starting learning C++

You can always start with something useful like BASH scripting. There is a nice guide available here
http://mywiki.wooledge.org/BashGuide

http://ubuntuforums.org/showpost.php?p=1984319 gives you a lot of info for starting out with python.

You can find wikibooks for most languages like c++

http://en.wikibooks.org/wiki/Subject:C% ... g_language

http://en.wikibooks.org/wiki/C_Programming

http://en.wikibooks.org/wiki/Python_Programming

Beginning Programming for Dummies by Wally Wang (Wiley & Sons). meant to be a good book

http://www.amazon.co.uk/Beginning-Progr ... 0470088702

Learn Python The Hard Way

http://learnpythonthehardway.org/

How to Think Like a Computer Scientist

http://openbookproject.net//thinkCSpy/

Invent Your Own Computer Games with Python

http://inventwithpython.com/chapters/

Hope you find something you might be able to use in that lot :-)