O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fundamentals of Linux

Book Description

Develop a solid understanding of the important command-line tools and utilities in Linux

About This Book
  • Delve into the fundamentals of Linux
  • Explore and work with virtualization, command lines, and Bash shell scripts
  • Use special file permission flags such as setuid and setgid
Who This Book Is For

Fundamentals of Linux is for individuals looking to work as a Linux system administrator.

What You Will Learn
  • Explore basic and advanced command-line concepts
  • Install Linux, work with VirtualBox, and install CentOS 7 in VirtualBox
  • Work with the command line efficiently and learn how to navigate through the Linux filesystem
  • Create file and user group permissions and edit files
  • Use Sticky bit to secure your Linux filesystem
  • Define and remove ACL from Linux files
In Detail

Linux is a Unix-like operating system assembled under the model of free and open source software development and distribution. Fundamentals of Linux will help you learn all the essentials of the Linux command line required to get you started. The book will start by teaching you how to work with virtualization software and install CentOS 7 Linux as a VM. Then, you will get to grips with the workings of various command line operations, such as cursor movement, commands, options, and arguments. As you make your way through the chapters, the book will not only focus on the most essential Linux commands but also give an introduction to Bash shell scripting. Finally, you will explore advanced topics, such as networking and troubleshooting your system, and you will get familiar with the advanced file permissions: ACL, setuid, and setgid. Fundamentals of Linux includes real-world tasks, use cases, and problems that, as a system administrator, you might encounter in your day-to-day activities.

Style and approach

A step-by-step guide filled with real-world examples that will cover the fundamentals of Linux

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Fundamentals of Linux
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributor
    1. About the author
    2. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the color images
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. Introduction to Linux
    1. An overview of the Linux system
    2. Virtualization
    3. Installing VirtualBox and CentOS
    4. Working with VirtualBox
    5. Connecting VMs through SSH
    6. Summary
  7. The Linux Command Line
    1. Introducing the command line
    2. File globbing
    3. Quoting commands
    4. Getting help
    5. Working with the Linux shell
    6. Understanding standard streams
    7. Understanding regular expressions
    8. Working with sed
    9. Working with awk
    10. Navigating the Linux filesystem
    11. Summary
  8. The Linux Filesystem
    1. Understanding the filesystem
    2. Working with file links
    3. Searching for files
    4. Working with users and groups
    5. Working with file permissions
    6. Working with text files
    7. Working with VIM text editor
    8. Summary
  9. Working with the Command Line
    1. Essential Linux commands
    2. Additional programs
      1. net-tools
      2. Nmap
      3. links
      4. iotop
      5. iftop
      6. htop
      7. lsof
    3. Understanding processes
      1. Cloning
    4. Signals
      1. kill
      2. hang-up
    5. Working with Bash shell variables
    6. Introduction to Bash shell scripting
      1. Implementing Bash shell scripting
      2. Automating script execution
    7. Summary
  10. More Advanced Command Lines and Concepts
    1. Basic networking concepts
    2. Installing new software and updating the system
    3. Introduction to services
    4. Basic system troubleshooting and firewalling
    5. Introducing ACLs
    6. setuid, setgid and sticky bit
      1. setuid
      2. setgid
      3. sticky bit
    7. Summary
  11. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think