Command-Line Master Class, Part 2
In Chapter 11, “Command-Line Master Class, Part 1,” you learned a number
of useful commands. This chapter follows up with information about how to
link commands together to create new command groups. It also looks at the
three most popular Linux text editors: vim, emacs, and nano, as well as the
sed and awk tools. This chapter also covers more commands and command-
line interface (CLI) tools to help you become successful and efficient. Let’s
jump right in.
IN THIS CHAPTER
Redirecting Output and Input
stdin, stdout, stderr, and Redirection
Comparing Files
Limiting Resource Use and Job Control
Combining Commands
Executing Jobs in Parallel
Using Environment Variables
Using Common Text Editors
Working with Compressed Files
Using Multiple Terminals with byobu
Doing a Polite System Reset Using REISUB
Fixing an Ubuntu System that Will Not Boot
Tips and Tricks
References
Redirecting Output and Input
Sometimes, the output of a command is too long to view on one screen. At
other times, there might be an advantage to preserving the output as a file,
perhaps to be edited later. You can’t do that using cat or less, at least not