AuthorNina ArchivesCategories |
Back to Blog
Online Terminal Emulator Mac10/19/2021
What is Terminal?Apple's Terminal app is a direct interface to OS X's bash shell — part of its UNIX underpinnings. If you're willing to take a peek. (Well, as much of a mutual respect as one can have between a human being and a code window.)While the average person should never have any reason to visit Terminal, Apple's command line interface app actually does give you access to quite a few neat tricks and shortcuts. OS X's command line and I have never been what I'd call "friendly" rather, we have a mutual respect and understanding about not messing with each other.An absolute path starts at the root level of your hard drive, and is displayed as "/". Paths look similar in some ways to website sub-directories, and follow the structure of your folders.Paths take two forms: absolute paths and relative paths. To do so, you build something called a path. What's a path?You can use Terminal to get direct access to your files without using the Finder. In short, be careful before using Terminal to execute commands, and make sure you understand what you're typing.Unless you're executing a command that requires the display of text in Terminal, you won't have any indicator that what you've done has been successful you'll just get a new line with your user name on it once the command is finished processing.When writing commands and paths in Terminal, almost everything is case sensitive: This means that you need to remember to properly capitalize "Dock" when referring to the Dock, or OS X won't understand your command.How to display and move between files in TerminalTo actually put all this path knowledge to use, you'll need the Terminal commands for displaying and changing files.Ls: The "ls" command, by itself, displays the contents of the cwd. You can then get to your Utilities folder by typing "./Utilities/" rather than "/Applications/Utilities".When you first launch Terminal, you're starting in the current working directory of /Users/ myusername/ (also known as your User folder). For instance, if you go to the "/Applications/" folder in Terminal, that's your current working directory ( cwd).
![]() ![]()
0 Comments
Read More
Leave a Reply. |