July 2007
Beginner
347 pages
4h 40m
English
Hang on tight, my dweebs! In this chapter we’re going to “Bravely go where no Noobies have gone before.” We’ll fly into the background from the command-line interface, and return!
Chapter 46, “Say What, Saytime,” includes a series of commands which cause your PC to speak the current time, wait 60 seconds, and then repeat. The command looked like this:
while true; do saytime; sleep 60; done & |
See the ampersand? That’s the “&” thingy at the end of the line. It puts the task run by the commands above into the background, out of your way. That frees up the CLI so that you can do other things from there while the commands above are running. It’s part of the magic of multitasking, which is ...
Read now
Unlock full access