Linux: A Comprehensive Guide to Linux Operating System and Command Line
By Sam Griffin
()
About this ebook
The term Linux refers to an operating system, or kernel, developed by Linus Torvalds and a few other contributors. It was publicly released for the first time in September 1991 and its introduction completely changed how users would experience computing for personal a
Read more from Sam Griffin
PowerShell: A Comprehensive Guide to Windows PowerShell Rating: 4 out of 5 stars4/5Hacking: A Comprehensive Guide to Computer Hacking and Cybersecurity Rating: 0 out of 5 stars0 ratingsWindows 10: A Complete Guide to Using Windows 10 Rating: 0 out of 5 stars0 ratings
Related to Linux
Related ebooks
Mastering Shell Commands On Linux Rating: 0 out of 5 stars0 ratingsGoing Text: Mastering the Command Line Rating: 4 out of 5 stars4/5Let's Use BASH on Windows 10! Rating: 0 out of 5 stars0 ratingsLINUX FOR NOVICES: A Beginner's Guide to Mastering the Linux Operating System (2023) Rating: 0 out of 5 stars0 ratingsBash Command Line Pro Tips Rating: 5 out of 5 stars5/5Linux for Beginners: Linux Command Line, Linux Programming and Linux Operating System Rating: 4 out of 5 stars4/5Working with Linux – Quick Hacks for the Command Line Rating: 5 out of 5 stars5/5Linux Shell Scripting Cookbook, Second Edition Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5The Windows Command Line Beginner's Guide: Second Edition Rating: 4 out of 5 stars4/5Easy Linux For Beginners Rating: 2 out of 5 stars2/5Mastering Linux System Administration Rating: 0 out of 5 stars0 ratingsShell Scripting: Expert Recipes for Linux, Bash, and more Rating: 0 out of 5 stars0 ratingsPractical Linux Security Cookbook Rating: 0 out of 5 stars0 ratingsLearning Shell Scripting with Zsh Rating: 0 out of 5 stars0 ratingsLinux Shell Scripting Cookbook - Third Edition Rating: 4 out of 5 stars4/5Linux Commands By Example Rating: 5 out of 5 stars5/5Work with the Command-line: To Manage Files and Directories in Ubuntu Rating: 5 out of 5 stars5/5The Linux Command Line Beginner's Guide Rating: 4 out of 5 stars4/5Mastering Linux Administration: A Comprehensive Guide: The IT Collection Rating: 5 out of 5 stars5/5Linux: A complete guide to Linux command line for beginners, and how to get started with the Linux operating system! Rating: 0 out of 5 stars0 ratingsSimply Linux: Basics Rating: 5 out of 5 stars5/5Mastering PowerShell: Unleashing the Power of Automation: The IT Collection Rating: 5 out of 5 stars5/5
Operating Systems For You
Linux Bible Rating: 0 out of 5 stars0 ratingsLinux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Linux All-in-One For Dummies Rating: 3 out of 5 stars3/5The Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 4 out of 5 stars4/5The Mac Terminal Reference and Scripting Primer Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Linux Basics for Hackers: Getting Started with Networking, Scripting, and Security in Kali Rating: 3 out of 5 stars3/5Hacking : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Ethical Hacking Rating: 5 out of 5 stars5/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Linux All-In-One For Dummies Rating: 2 out of 5 stars2/5iPhone Unlocked Rating: 0 out of 5 stars0 ratingsBash Command Line Pro Tips Rating: 5 out of 5 stars5/5PowerShell: A Beginner's Guide to Windows PowerShell Rating: 4 out of 5 stars4/5MacBook Pro User Manual: 2022 MacBook Pro User Guide for beginners and seniors to Master Macbook Pro like a Pro Rating: 0 out of 5 stars0 ratingsRaspberry Pi Cookbook for Python Programmers Rating: 0 out of 5 stars0 ratingsTor Darknet Bundle: Master the Art of Invisibility Rating: 0 out of 5 stars0 ratingsThe Linux Command Line Beginner's Guide Rating: 4 out of 5 stars4/5MacBook Air (Retina) with MacOS Catalina: Getting Started with MacOS 10.15 for MacBook Air Rating: 0 out of 5 stars0 ratingsMAC OS X UNIX Toolbox: 1000+ Commands for the Mac OS X Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Study Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsMastering Windows 365: Deploy and Manage Cloud PCs and Windows 365 Link devices, Copilot with Intune, and Intune Suite Rating: 0 out of 5 stars0 ratingsXDA Developers' Android Hacker's Toolkit: The Complete Guide to Rooting, ROMs and Theming Rating: 2 out of 5 stars2/5Decode the iPhone 16 and iPhone 16 Pro: A Simple Guide to the 2024 iPhone and iOS 18 Rating: 0 out of 5 stars0 ratingsmacOS Sonoma For Dummies Rating: 0 out of 5 stars0 ratingsGetting Started with PowerShell Rating: 0 out of 5 stars0 ratingsWindows 11 All-in-One For Dummies Rating: 5 out of 5 stars5/5
Reviews for Linux
0 ratings0 reviews
Book preview
Linux - Sam Griffin
Introduction
The term Linux refers to an operating system, or kernel, developed by Linus Torvalds and a few other contributors. It was publicly released for the first time in September 1991 and its introduction completely changed how users would experience computing for personal and professional purposes. In a world where Microsoft was charging users for the Windows operating system, Linux was offered to the world as an open-source operating system. This meant that it was free of cost and allowed programmers to customize it as per their requirements. They could use the kernel to create their customized version of an operating system around it. The primary code used for developing the Linux operating system was in the C programming language.
The Linux kernel is used by thousands of operating systems today, and the most popular ones among them comprise Debian, Ubuntu, RedHat, and Fedora. This list is not limited to just the four of these, as new operating systems are developed every year that employ the kernel from the original Linux system.
Mankind reached a milestone in computing technology with Linux's invention and today, Linux powers almost all our devices such as mobiles, laptops, cloud servers, and other supercomputers.
This also led to the creation of a popular job profile known as a Linux System Administrator. The responsibilities of a Linux system admin revolve around the following tasks:
Knowledge of the Linux file system
Managing the Linux system's superuser known as Root
Proficiency in the Linux command line
Managing users, files, and directories
It is similar to maintaining your personal computer at home but on a larger scale where you are responsible for an entire organization's computer system.
Almost every business today that deals with data and data-related applications uses a Linux based computer known as a server. A Linux server manages all the interactions between a business and its customers, and therefore, it manages huge amounts of customer data. In today's world, data is the new currency and is of utmost importance to a business. If a Linux server is kept down for a long period, it can result in losses worth thousands of dollars for a business. Let us take an example of the shopping giant, Amazon's website. If the Amazon website went off the Internet even for five minutes, its sales would suffer hugely. This is where Linux knowledge helps and a Linux system admin would save the day. It is the Linux system admin's responsibility to ensure that the Linux system is always up and running and that the website of business never goes off the Internet, even for a second.
This is just one of the many jobs that involves the knowledge and use of the Linux operating system. In the following chapters, we will discuss more about Linux, its origins, its uses, and how it works!
Chapter 1: Features of Linux
Linus Torvalds studied at the University of Helsinki and regularly used Minix, a version of the UNIX operating system. He and a few others realized that a few modifications could make this operating system even more efficient and sent a request to the developer of Minix, Andrew Tanenbaum for these changes. Andrew, however, felt that these changes were irrelevant and discarded their request. This was when Linus decided to create his own operating system that would be developed based on feedback from end-users. He started coding in C language, wrote 95% of Linux in C, and coded the rest in the Assembly language that, at the time, was the second most popular language.
What Kind of Operating System is Linux?
Linux can be classified as a Layered Architecture Operating System, comprising the following layers:
Hardware Layer
This consists of all peripheral devices such as Hard Disk, RAM, CPU, etc.
Kernel
The kernel is the heart of the operating system. It lies between the software and hardware, and all instructions regarding input and output are processed via the kernel.
Shell/GCC
The shell is an interface that lies between the user and the Linux kernel. The shell hides the complexity of the kernel's functions. The shell takes commands from a user as inputs and then instructs the kernel to execute those commands.
Application Software
Software is a utility offered by the