Preface and Introduction

*One of the survivors, poking around in the ruins with the point of a spear, uncovers a singed photo of Richard Stallman. They stare in silence. "This," one of them finally says, "This is a man who BELIEVED in something."*

Objectives of this book

Dennis Ritchie: “I think the Linux phenomenon is quite delightful, because it draws so strongly on the basis that Unix provided. Linux seems to be the among the healthiest of the direct Unix derivatives, though there are also the various BSD systems as well as the more official offerings from the workstation and mainframe manufacturers.” Interview with Dennis Ritchie

Richard Stallman: “Free software is a matter of liberty, not price. To understand the concept, you should think of free as in free speech, not as in free beer.” What is free software?

Linus Torvalds: “To kind of explain what Linux is, you have to explain what an operating system is. And the thing about an operating system is that you’re never ever supposed to see it. Because nobody really uses an operating system; people use programs on their computer. And the only mission in life of an operating system is to help those programs run. So an operating system never does anything on its own; it’s only waiting for the programs to ask for certain resources, or ask for a certain file on the disk, or ask to connect to the outside world. And then the operating system steps in and tries to make it easy for people to write programs.” Linus Torvalds Interview in Revolution OS, documentary, 2001.

Steve Ballmer: “Linux is not in the public domain. Linux is a cancer that attaches itself in an intellectual property sense to everything it touches. That’s the way that the license works.” 1 June 2001 Chicago Sun Times

Scott GuthrieToday I’m excited to announce our plans to bring SQL Server to Linux as well. This will enable SQL Server to deliver a consistent data platform across Windows Server and Linux, as well as on-premises and cloud. We are bringing the core relational database capabilities to preview today, and are targeting availability in mid-2017.March 7, 2016 Scott Guthrie, Executive Vice President, Cloud and Enterprise Group, Microsoft

GitHub Microsoft buys GitHub - June 4, 2018

Microsoft Corp. on Monday announced it has reached an agreement to acquire GitHub, the world’s leading software development platform where more than 28 million developers learn, share and collaborate to create the future. Together, the two companies will empower developers to achieve more at every stage of the development lifecycle, accelerate enterprise use of GitHub, and bring Microsoft’s developer tools and services to new audiences.

AndroidAndroid is a Linux distribution according to the Linux Foundation, Google’s open-source chief Chris DiBona, and several journalists. Others, such as Google engineer Patrick Brady, say that Android is not Linux in the traditional Unix-like Linux distribution sense; Android does not include the GNU C Library (it uses Bionic as an alternative C library) and some of other components typically found in Linux distributions.

When you hear the term “free and opensource software” what comes to mind? The quotes listed above state a range of opinions and outlooks. Do you agree with any of these quotes? Do you disagree? These are the questions to keep in mind as you begin to understand free and opensource software.

Everyday people are exposed to free and opensource software without even knowing it. What does this mean? And what are the advantages/disadvantages with proprietary or closed-source software? What are the different development paradigms and what do these things mean in relation to privacy, security, and impact on your daily life. In reading the above quotes it is clear there is more than a technological discussion going on, this is really a philosophy of technology discussion. Operating systems power our computers and smart phones; they allow us to interact with the hardware contained within and to impact society.

In 1969, the first UNIX operating system was created by Bell Labs employees at AT&T. AT&T Bell Labs was spun off as part of Lucent Technologies in 1996. In 2006, Alcatel SA of France, purchased Lucent Technologies and Bell Labs. In 2016, Nokia, with money they received from selling their mobile phone division to Microsoft, absorbed Alcatel SA of France. After one year, the Nokia name was licensed to HMD Global to produce Android based phones in 2019, which is a Linux distro, which is descended from UNIX. A 50 year cycle with Unix all the way down.

This text strives to focus on two areas:

1) We will describe the philosophy of free and opensource software and its origin and impact upon our computing world.
1) This book will cover the basic technical structure and how to use free and opensource operating systems–primarily Linux, but where noted Unix and BSD based systems.

For Instructors

In addition to the text material this book includes:

  • Chapter review questions with answers in Appendix B
    • Online quizzes with support for Blackboard importing
  • Weekly supplemental podcast questions
  • Chapter Labs for reinforcing chapter content
    • Provided in text format
    • For those who use it, provided in Blackboard quiz form – ready for import
  • Example programs and source code for exercises

The text of the book is opensource and build instructions are in our GitHub repository for download at https://github.com/jhajek/Linux-text-book-part-1 Instructors can feel free to fork the repo or submit pull requests. This is to ensure that we have a living document that can be changed, updated, and republished quickly.

For Students

All source code from this book as well as examples are available on our GitHub page: https://github.com/jhajek/Linux-text-book-part-1

Part of this book was inspired by a quote from my friend in regards to Linux textbooks, he said, “Most text books move along well, but then out of nowhere introduce unrelated content.” At the same time, I had the feeling that most Linux Text books out were actually Unix text books with some updated content relating to Linux.

Chapter Title Images

Authors and Contributors

Jeremy Hajek - Industry Associate Professor at the Illinois Institute of Technology

Special thanks to those who have submitted pull requests and bug reports:

Special Thanks

  • Professor Sam - who taught me that it is pronounced “ee tee cee F-stab” not “etc F S tab” and how to read error messages.
  • Professor Ray Trygstad and Dean Robert Carlson, who gave me my first real IT job and showed me the wonders of Perl.
  • Illinois Institute of Technology who has entrusted me with much.
  • My wife and kids who have supported me always.
  • Sean Hughes-Durkin who inspired me to write this book based on his quote above