![]() ![]() So, to learn more about a command type man, where "command" is the name of the command you want to find out more about. There are a few things you need to bear in mind when you’re typing commands in Terminal or any other command-line tool. Firstly, every character matters, including spaces. So when you’re copying a command you see here, make sure you include the spaces and that characters are in the correct case. ![]() You can’t use a mouse or trackpad in Terminal, but you can navigate using the arrow keys. If you want to re-run a command, tap the up arrow key until you reach it, then press Return. To interrupt a command that’s already running, type Control-C.Ĭommands are always executed in the current location. So, if you don’t specify a location in the command, it will run wherever you last moved to or where the last command was run. Use the cdcommand, followed by a directory path, like in Step 1 above, to specify the folder where you want a command to run. This time, we’ll create a new folder inside your Documents directory and call it "TerminalTest." There is another way to specify a location: go to the Finder, navigate to the file or folder you want and drag it onto the Terminal window, with the cursor at the point where you typed the path. Open a Finder window and navigate to your Documents folder. Type cd and drag the Documents folder onto the Terminal window. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |