Book Image

Fundamentals of Linux

By : Oliver Pelz
Book Image

Fundamentals of Linux

By: Oliver Pelz

Overview of this book

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.
Table of Contents (7 chapters)

Understanding the filesystem

A filesystem is not only a tree of files and folders exposed to the Linux user, but it's also the structure and management to access and save data, and keep everything consistent. As already mentioned, you often hear the phrase that in Linux, everything is a file, and this is true. This means that a lot of different things in Linux get abstracted as files. For example, a directory is a file, hardware devices get represented by special system files, or ,useful, such as a random number generator, is also a file.

Let's quickly recap and summarize what we already know about working with files from the last two chapters. ls lists and displays files, touch creates a file, files are case sensitive, and . files are hidden files and are excluded from normal command execution, such as the ls command, and also from shell expansion using file globbing...