If you use Linux in your day-to-day work, this popular pocket guide is the perfect on-the-job reference. The third edition features new commands for processing image files and audio files, running and killing programs, reading and modifying the system clipboard, and manipulating PDF files, as well a
Essential Linux Commands
β Scribed by Paul Olushile
- Publisher
- Packt Publishing Pvt Ltd
- Year
- 2023
- Tongue
- English
- Leaves
- 250
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
100 Linux commands every system administrator should know
Unlock the power of Linux with this quick-start guide to leveling up your admin skills, packed with clear explanations and hands-on examples
Explore Linux commands for mounting, file manipulation, and running Linux on the cloud
Learn commands for checking and configuring network card statistics, firewall rules, and interfaces,
Understand how to utilize SELinux in keeping systems adequately hardened and avoiding various security risks
β¦ Table of Contents
Essential Linux Commands
Contributors
About the author
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Conventions used
Get in touch
Share your thoughts
Download a free PDF copy of this book
Part 1:Server Installations and Management Commands
1
Getting a CentOS Server Up and Running
Downloading the OS installation file
Downloading and setting up a hypervisor
Package installation commands
YUM package management system
Common package installation commands
Information commands
Summary
2
Linux User and Group Commands
useradd, userdel, and usermod
useradd
userdel
usermod
Files, directories, and permission commands
chmod
chown
chgrp
groupdel, groupmod, groupadd, and grpck
pwck, chage, and passwd commands
find, locate, and whereis commands
Summary
3
File Compression and Archival Commands
gunzip and gzip
tar, rar, and unrar
zip and unzip
bunzip2, bzip2, and more
Summary
Part 2:Frequently Used Commands β Part 1
4
Format and Disk Space Commands
The history and evolution of disk formatting and partitioning in Linux
Steps to create a partition
fdisk, lsblk, df, and du
Checking the disk space usage of a directory
Finding large files in a directory
Displaying (dpkg and rpm) package space
Installing a package
Querying the details of a package
mkfs, mke2fs, fdformat, and more
Summary
5
Linux Permissions Commands
Why permission commands?
Types of permissions
chmod
chown
Utilizing absolute paths in commands
chgrp
umask
sudo
Summary
6
Filesystem Mount and Manipulation Commands
Linux mount commands
The mount command
The umount command
The fuser command
File manipulation using cat, grep, and more
Summary
Part 3:Frequently Used Commands β Part 2
7
File Content and Conversion Commands
The tail and file commands
The convert command
Using dos2unix to convert MS-DOS files to Unix
Using unix2dos to convert Unix files to MS-DOS
The recode command
Summary
8
Linux SWAP Commands
The swapon command
The free command
Summary
9
Linux Monitoring and Debugging Commands
The top command
The ps command
The pstree command
The strace command
The watch command
The smartctl command
The uptime command
The lsof command
The lsmod command
The last reboot command
The last command
The w command
The vmstat command
The kill command
The pkill command
Summary
10
Linux IPTABLES and Network Commands
iptables -t ACCEPT
iptables -t DROP
ifconfig, ip, route, and netstat
ip, route, and netstat
Hostname and nslookup
host
Summary
11
File Transfer, Downloading, and Managing Log Files
Copying files into remote systems using netcat and socat
Downloading files with wget and curl
Exploring common log files
Summary
Part 4:Linux Security and the Cloud
12
Exploring Linux Security
Utilizing enforcing and permissive modes
A short introduction to Linux hardening and the role of SELinuxβs enforcing and passive modes
The role of enforcing mode
The role of permissive mode
Enabling or disabling SELinux Boolean values
Searching for a Boolean and getting its information
Enabling a SELinux Boolean value
Disabling a SELinux Boolean value
Locking user accounts
Securing SSH
Summary
13
Linux in the Cloud
Creating EC2 instances on AWS
Connecting to a created EC2 instance using PuTTY
Working on our EC2 instance
Summary
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share your thoughts
Download a free PDF copy of this book
π SIMILAR VOLUMES
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, and m
If you use Linux in your day-to-day work, this popular pocket guide is the perfect on-the-job reference. The third edition features new commands for processing image files and audio files, running and killing programs, reading and modifying the system clipboard, and manipulating PDF files, as well a
<p>If you use Linux in your day-to-day work, this popular pocket guide is the perfect on-the-job reference. The third edition features new commands for processing image files and audio files, running and killing programs, reading and modifying the system clipboard, and manipulating PDF files, as wel
This book is a reference guide for fast learning Linux commands which are frequently used by Linux administrators or beginners. The book covers all essential Linux commands as well as their operations, examples and explanations. It also includes Linux Helping commands, symbols, shortcut keys, run le
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 virt