Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Essential Linux Commands
  • Table Of Contents Toc
  • Feedback & Rating feedback
Essential Linux Commands

Essential Linux Commands

By : Paul Olushile
5 (12)
close
close
Essential Linux Commands

Essential Linux Commands

5 (12)
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)
close
close
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

mkfs, mke2fs, fdformat, and more

Disk formatting is the process of preparing a storage device such as a hard drive, SSD, or USB flash drive for data storage. Formatting creates a filesystem on the storage device, which allows the operating system to organize and manage files on the device. In Linux, several disk formatting tool commands can be used to format storage devices. These tools include mkfs, mke2fs, fdformat, and more.

mkfs is a command that’s used to create a filesystem on a storage device. This command can be used to create a variety of filesystems, including ext2, ext3, ext4, XFS, btrfs, and more. The mkfs command is important in preparing storage devices for use in Linux systems. For example, when a new hard drive is added to a Linux server, it must be formatted before it can be used for data storage. Let’s examine a straightforward approach to utilize this tool on CentOS 8:

Figure 4.17 – Formatting a partition using mkfs.ext4

Figure 4.17 – Formatting a partition using mkfs...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY