Some Useful Commands
The tables below list some of the most useful Linux commands. The tables show the command name, what the command does, and where to find more information. In addition, sort and grep, two of the more flexible commands, are documented in this chapter to show the use of complex commands.
Linux commands can be used on the command line or in shell scripts, programs that perform tasks in the Linux shell. Creating shell scripts is discussed in Chapter 19.
Command | What it does | Details in |
---|---|---|
cat | Display contents of a file. | Chapter 9 |
cd | Change current directory. | Chapter 9 |
chgrp | Change the group owner for a file. | Chapter 9 |
chmod | Change the permissions of a file. | Chapter 9 |
chown | Change the owner of a ... |
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.