LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-02-2023, 07:14 AM   #1
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Rep: Reputation: 10
Post I want to learn Linux in depth and know how it really works


Hello,
I know Linux to some extent and can do daily tasks and use it as a server. You can say that I am a Linux administrator, but many Linux administrators don't really understand how Linux and the operating system work. I want to learn Linux in depth. What book do you recommend?

Thank you.
 
Old 02-02-2023, 09:01 AM   #2
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
There's only one answer to your request: Linux from scratch!

Had a romantic idea to build a slick install, so deep-dived into LFS... a year or so later found it to be too much for my needs, so decided to find a distro to strip from unwanted stuff.

Found Slackware (with nothing to strip), which I may recommend for building LFS as Slackware comes with all tools for the build...

Best of luck!
 
Old 02-02-2023, 09:41 AM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,606

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549
Quote:
Originally Posted by Jason.nix View Post
I know Linux to some extent and can do daily tasks and use it as a server.
So can you already do all the items mentioned in posts #2 and #17 of this thread: https://www.linuxquestions.org/questions/linux-newbie-8/where-can-i-find-exercises-to-practice-linux-4175718917 ?

If not, there's a couple of recommendations for the book The Linux Command Line, by William Shotts in that thread which should help with some of them.


Last edited by boughtonp; 02-02-2023 at 09:44 AM.
 
Old 02-02-2023, 11:09 AM   #4
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Hello,
Thank you so much.
The Linux Command Line, by William Shotts book, explain Linux in depth or is it just about Linux commands?
How about How Linux Works, 3rd Edition: What Every Superuser Should Know, by Brian Ward book?

Last edited by Jason.nix; 02-02-2023 at 11:36 AM.
 
Old 02-02-2023, 11:46 AM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,121
Blog Entries: 21

Rep: Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476Reputation: 3476
Something free to learn with

https://ocw.mit.edu/search/?q=linux&...sort_coursenum
 
Old 02-02-2023, 12:07 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Jason.nix View Post
Hello,
Thank you so much.
The Linux Command Line, by William Shotts book, explain Linux in depth or is it just about Linux commands?
How about How Linux Works, 3rd Edition: What Every Superuser Should Know, by Brian Ward book?
Thanks for the tip. I just bought "How Linux Works" from Walmart.
 
Old 02-02-2023, 12:11 PM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,606

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549
Quote:
Originally Posted by Jason.nix View Post
The The Linux Command Line, by William Shotts, Does it explain Linux in depth or is it just about Linux commands?
The book provides commands for exploring and understanding a Linux-based OS along with further reading references for each chapter - you can follow the link, look for the bit that says "this book is available for free download in PDF format. Download it here" and see for yourself precisely what it contains.

I would suggest there are few if any topics that can be learnt in depth solely from reading a single book, but - based on that question - even if you only page through it you'll probably find yourself learning plenty.


Since the Brian Ward book does not have an open license or PDF online, I cannot view it and thus have no strong opinions, but looking at the abstract and ToC it seems to have a kernel-focused angle which potentially complements the above book. (If I were to buy it, I would certainly get it direct from the publisher - No Starch Press, same publisher as William Shotts book - and never from Amazon.)


Last edited by boughtonp; 02-02-2023 at 12:13 PM.
 
Old 02-02-2023, 01:03 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Personally, I agree with @Jan: LFS = Linux From Scratch. You quite-literally "bootstrap" the entire system from nothing.

But "it is so much easier now," because you can download a full-featured virtual machine system – VirtualBox® – which costs nothing but runs on everything. Quite unlike what I had to do all those many years ago, you can now carry out your in a window, on any "host" that you prefer. "Snapshot, restore, all the good stuff ..."

You might also one day be interested in Gentoo, which is a source-code based distribution where you actually compile everything yourself, using compile-time options that are specific to your computer hardware. It's kind of like "LFS with packages." (Do LFS first ...)

Last edited by sundialsvcs; 02-02-2023 at 01:07 PM.
 
Old 02-03-2023, 05:29 AM   #9
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Hello,
Thank you so much for all replies.
The Linux from scratch is for those who want to build a Linux distribution.
I want to learn how Linux works. For example, how it communicates with the hardware, how it manages memory, and what happens when I run a program until the program is executed. I want a book that will teach me such things.
Sorry if I couldn't express my question well at first.
 
Old 02-03-2023, 05:32 AM   #10
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by jailbait View Post
Thanks for the tip. I just bought "How Linux Works" from Walmart.
Great.
Please see my last post related to this question. Does this book cover what I want?
 
Old 02-03-2023, 05:41 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by Jason.nix View Post
I want to learn Linux in depth.
Me too ... one day I hope to get there
 
1 members found this post helpful.
Old 02-03-2023, 07:08 AM   #12
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,606

Rep: Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549Reputation: 2549
Quote:
Originally Posted by Jason.nix View Post
I want to learn how Linux works. For example, how it communicates with the hardware, how it manages memory, and what happens when I run a program until the program is executed. I want a book that will teach me such things.
Sorry if I couldn't express my question well at first.
Then you want a book that specifically focuses on the Linux kernel, rather than merely Linux-based OSes - see https://en.wikipedia.org/wiki/User_s...d_kernel_space

The Brian Ward book may include aspects of that (chapters 3..8) but of course you'll need someone who has already read those to say how far it goes.

Possibly better would be to take a look at the "Up-to-date books" section of https://kernelnewbies.org/Documents

 
Old 02-03-2023, 11:45 AM   #13
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Jason.nix View Post
Great.
Please see my last post related to this question. Does this book cover what I want?
I bought the book just before I wrote the post. I haven't received the book yet. I bought the book based on the description of the book in the link you posted. From the description I think that the book covers what you want.

Last edited by jailbait; 02-03-2023 at 11:54 AM.
 
1 members found this post helpful.
Old 02-09-2023, 01:46 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Here's a series of videos on the POSIX API. Which is certainly one level that's worth understanding.

https://www.youtube.com/playlist?lis...Ds9zIiBg2Wug0z
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The Libreboot C201 from Minifree is really really really ridiculously open source jeremy Linux - News 0 12-09-2016 10:51 AM
The best, free online recourses to learn Linux in more depth Mike522 Linux - General 3 08-29-2010 08:52 PM
new and really want to learn Fear Linux - Newbie 3 11-09-2004 08:16 AM
What is a really good way to Learn Linux? What about a Really Good Linux magazine? Howerton Linux - Newbie 9 09-02-2004 04:59 AM
really want to learn. few questions :) DazeiHead Linux - Newbie 8 05-24-2003 06:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05: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