Any good books to learn basic advanced programming for linux

Chat about just about anything else
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 30 days after creation.
Locked
jinutminx

Any good books to learn basic advanced programming for linux

Post 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
Last edited by LockBot on Wed Dec 07, 2022 4:01 am, edited 1 time in total.
Reason: Topic automatically closed 30 days after creation. New replies are no longer allowed.
computer noob

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

Post 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
DrHu

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

Post 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/
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

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

Post 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.
Image
jinutminx

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

Post 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?
wanderer7

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

Post 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/
wanderer7

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

Post 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/
1.618

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

Post 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 :-)
Locked

Return to “Open Chat”