Book Image

CentOS Quick Start Guide

By : Shiwang Kalkhanda
Book Image

CentOS Quick Start Guide

By: Shiwang Kalkhanda

Overview of this book

Linux kernel development has been the worlds largest collaborative project to date. With this practical guide, you will learn Linux through one of its most popular and stable distributions. This book will introduce you to essential Linux skills using CentOS 7. It describes how a Linux system is organized, and will introduce you to key command-line concepts you can practice on your own. It will guide you in performing basic system administration tasks and day-to-day operations in a Linux environment. You will learn core system administration skills for managing a system running CentOS 7 or a similar operating system, such as RHEL 7, Scientific Linux, and Oracle Linux. You will be able to perform installation, establish network connectivity and user and process management, modify file permissions, manage text files using the command line, and implement basic security administration after covering this book. By the end of this book, you will have a solid understanding of working with Linux using the command line.
Table of Contents (11 chapters)

Executing commands as superuser in CentOS 7

Every operating system has an account to administer the resources of that system. In the case of CentOS Linux, this user account is known as root, very often called the superuser. The root account is the most privileged account in a Linux/Unix system. This account is used to carry out system administration tasks, such as managing user accounts and their passwords, managing software packages, modifying system files, and restarting system services. Extra caution must be taken while working as the root user as it has no security restrictions imposed on it. If the root account is compromised, then another person will have full administrative control of the system. The root account on Linux is equivalent to the local administrator account on Windows.

When you are logged in as the root user, the shell prompt displays the hash # symbol by convention...