June 2012
Beginner
227 pages
5h 43m
English
| Print simple text on standard output. |
printf | Print formatted text on standard output. |
pbcopy | Copy standard input to the clipboard. |
pbpaste | Copy the clipboard to standard output. |
yes | Print repeated text on standard output. |
clear | Clear the screen or window. |
Terminal provides several commands for printing messages on standard
output, such as echo:
➜ echo hello world
hello worldEach command has different strengths and intended purposes. These commands are invaluable for learning about the shell, debugging problems, writing shell scripts (see Programming with Shell Scripts), or just talking to yourself.
Read now
Unlock full access