Book Image

Essential Linux Commands

By : Paul Olushile
Book Image

Essential Linux Commands

By: Paul Olushile

Overview of this book

The role of a system administrator is ever-evolving, with the Linux command line at its core. This makes Linux command-line mastery an essential skill to demonstrate your ability to efficiently manage and maintain systems efficiently. Essential Linux Commands addresses a diverse range of topics, including package management, file manipulation, networking strategies, system monitoring, and diagnostic tools. Each command is intricately explained to eliminate any ambiguity, ensuring ease of implementation in real-world scenarios. This book explains how to use SELinux to maintain security, run Linux machines on AWS Cloud, and transfer and download files to remote systems. With the help of practical examples and use cases, you’ll not only gain a thorough understanding of a command’s syntax but also grasp its functional breadth and limitations. The book also explores commands frequently used by system administrators to check network card statistics and firewall rules. Whether you’re a beginner or an experienced administrator, this book is an invaluable resource, filling in the gaps in your skill set and helping you improve your skills and expertise in Linux administration.
Table of Contents (20 chapters)
1
Part 1:Server Installations and Management Commands
5
Part 2:Frequently Used Commands – Part 1
9
Part 3:Frequently Used Commands – Part 2
15
Part 4:Linux Security and the Cloud

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “The useradd command in Linux is used to create a new user account or update an existing one.”

A block of code is set as follows:

username:password:lastpasswordchanged:minpasswordage:maxpasswordage:passwordwarningperiod:inactivityperiod:expirationdate:reservedfield

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

username:password:lastpasswordchanged:minpasswordage:maxpasswordage:passwordwarningperiod:inactivityperiod:expirationdate:reservedfield

Any command-line input or output is written as follows:

sudo "useradd [options] username"

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: “Our second step is to select the x86_64 option for all architectures.”

Tips or important notes

Appear like this.