Book Image

Linux for System Administrators

By : Viorel Rudareanu, Daniil Baturin
Book Image

Linux for System Administrators

By: Viorel Rudareanu, Daniil Baturin

Overview of this book

Linux system administration is an essential aspect of maintaining and managing Linux servers within an organization. The role of a Linux system administrator is pivotal in ensuring the smooth functioning and security of these servers, making it a critical job function for any company that relies on Linux infrastructure. This book is a comprehensive guide designed to help you build a solid foundation in Linux system administration. It takes you from the fundamentals of Linux to more advanced topics, encompassing key areas such as Linux system installation, managing user accounts and filesystems, networking fundamentals, and Linux security techniques. Additionally, the book delves into the automation of applications and infrastructure using Chef, enabling you to streamline and optimize your operations. For both newcomers getting started with Linux and professionals looking to enhance their skills, this book is an invaluable hands-on guide with a structured approach and concise explanations that make it an effective resource for quickly acquiring and reinforcing Linux system administration skills. With the help of this Linux book, you’ll be able to navigate the world of Linux administration confidently to meet the demands of your role.
Table of Contents (21 chapters)
1
Part 1: Linux Basics
7
Part 2: Configuring and Modifying Linux Systems
13
Part 3: Linux as a Part of a Larger System

The directory tree and standard directories

To see the main structure of the root folder, just use the following command: tree -L 1.

Figure 3.2 – The command to see a directory structure tree

Figure 3.2 – The command to see a directory structure tree

To better grasp how the Linux filesystem functions in general, let’s examine what each folder’s purpose is with reference to the Linux filesystem diagram shown in Figure 3.2. Not all of the folders mentioned here nor in the preceding examples will be found in every Linux distribution, but the vast majority of them will:

  • /bin: The majority of your binary files are kept in this location, which is pronounced bin, and is often used by Linux Terminal commands and essential utilities such as cd (change directory), pwd (print working directory), mv (move), and others.
  • /boot: All of the boot files for Linux can be found in this folder. The majority of people, including myself, save this directory on a separate partition of their hard drive...