Terminal Lesson 8
Mad Catz here. Today I'm going to be showing you some terminal utilities. It might be useful to you. First of all, you can type a space and that in quotes, a string for the computer to speak to you. For instance, "Hey, yo taco!" "Hi, oh taco!" See, it says it right to you.
I'm going to even turn up my volume all the way and do this again. Say hi! And when it doesn't have a space, it doesn't need to be in quotes. Alright, fact: I think you don't need quotes, no matter what. DF JKS needs a sod. This is it. So, that's how to use the say utility.
Now, another thing that's going to be useful to you is the man utility. It's actually "man." So you can do man and then a command to see the manual page for the command. You use the arrow keys to go up and down to scroll up and down on the manual page, and click Q to quit the manual page.
Now, you type "man" space a command like echo, and it will show you the information for that command. I'm pressing the arrow keys to move up and down on this makeup, and you can just move up and down and read the page. When you're done with it, just click Q like I said.
So that's how to view a manual page on something. Let's see if there's a manual page for say. See, look at this! You can set the voice, so you can set the voice with say and everything like that. So it's very useful.
Um, so that's how to use the say utility and the man utility. Another thing I'm going to show you is Emacs, which is actually a word processor that comes with a terminal and Unix. But I'm not going to be showing you how to use it; I'm going to be showing you some games hidden within it.
You hold the escape and hold X really fast, and you type snake. I'll put this on the screen, hit enter, and here comes snake. You can play snake by moving around the arrow keys, eating the red dots.
And then another thing: if you press escape X right now, Tetris will start. Your terminal has to be bigger, like about this size, in order for Tetris to work properly, and you click space to make the little dots move all the way down really fast. I lose for you!
And then, if you press Control X, Control C really fast—Control X, then like oh, and then Control C like this—then it will exit. So that's how to use Emacs.
So there are two games: escape X for snake and Tetris. And there are a few of these, which I'm not going to mention because they're not that fun. So that's how to use Emacs, say man. Um, so goodbye. Goodbye!