AMITIAE - Friday 5 October 2012
Command Line Work: New Users and Terminal (11) -- Unix Tricks from OS X Daily |
|
By Graham K. Rogers
Commands from OS X DailyI am working my way through some of the more simple commands in Unix. Apart from the basic technical interest, one of my intentions is to introduce users to Terminal and minimize any trepidation. I am referring to outside sources from time to time.It was with amusement, therefore, that I saw an article this morning (Saturday 6 October 2012) by Paul Horowitz, on OS X Daily (one of my regular reads): "5 Stupid Terminal Tricks to Keep You Entertained". I suggest a look at these:
CommentsI could find no way to get out of that first one. Typing Control Z just stopped the screen and I had to restart Terminal to get back to work. Other functions on the Mac were unaffected.Playing the games uses emacs and I am currently working on an item that introduces the text editors available in Terminal (emacs, nano, pico, vi, vim and visudo), but this is much more interesting. The article suggests F10 but on some Macs (especially notebooks) the F10 key is allocated for other tasks. In that case, press ESC and then ` (the key to the left of 1). That brings up the menu: then t, then g. There is a list of 11 games. The last item was subject of an article a couple of days ago on OS X Daily on how to stress the CPU -- for extreme analytics: "Stress Test a Mac by Maxing Out CPU". As newer processors have multiple cores, yes is run for each. The article explains how to set it up and how to use the killall command to shut the process down again.
Graham K. Rogers teaches at the Faculty of Engineering, Mahidol University in Thailand. He wrote in the Bangkok Post, Database supplement on IT subjects. For the last seven years of Database he wrote a column on Apple and Macs. |
|
For further information, e-mail to