The Command-Line Interface on Linux

The command-line interface (CLI) is a text environment in which you type commands for Linux to execute and Linux displays text messages in response. In the CLI, you use the keyboard, rather than the mouse, to send instructions to Linux. When you are working with the CLI, you are interacting with a program called a shell. The shell accepts your commands, processes them, and passes them into the kernel, the part of Linux where the basic computer work takes place. Linux offers a choice of several shells, but this book provides information only for Bash, the most popular Linux shell.

Linux can boot directly into a command-line environment. You see a screen that is mainly empty, waiting for your input. Rather than ...

Get Spring Into Linux® 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.