Chapter 8

Linux Commands

IN THIS CHAPTER

Bullet Discovering the basics of command shells

Bullet Identifying file and directory commands

Bullet Discovering commands that help with packages and services

Bullet Figuring out commands for managing users and groups

Bullet Becoming familiar with networking commands

Linux is, at its core, a command-line-driven operating system. You can add a nice graphical user interface (GUI) such as GNOME, but most server administration is done through the command line. In this chapter, I explain the ins and outs of using the command line and explore the details of using some of the most common Linux commands.

Command Shell Basics

A shell is a program that accepts commands from a command prompt and executes them. The shell displays a prompt to let you know it’s waiting for a command. When you type the command and press Enter, the system reads your command, interprets it, executes it, displays the results, and then displays the prompt again so that you can enter another command.

Linux ...

Get Networking All-in-One For Dummies, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.