/) brings us one (two) hierarchy level(s) up, starting from our current folderĬd FolderName/OtherFolderName will navigate into the corresponding folderĪbsolute paths always start with the root folder, so with / - A typical path could be /Users/YourUserName/project. Let's continue with direct folder access beyond our root, users and home directories: cd.
On macOS, the terminal is our "hardware" for the shell, so the tool where our shell software can run. execute code or run certain file types (Python files as an example).
Whilst a GUI typically is required for a smooth end user experience, CLIs are important for programmers to perform specific tasks, e.g. With a CLI, a text input by the user would be translated to do the same.īoth shells are important. Sounds strange? Opening folders with a double-click only works as the finder (our shell - a GUI) manages the communication to "tell" the computer that double-clicking a folder in the shell means "opening it". A shell manages the communication between end user and computer.
The alternative are CLIs, on macOS also known as the terminal:īoth are so-called shells. GUIs are interfaces created to make the user experience as convenient as possible.
Get instant & unlimited access to all our existing (30+) courses, future courses and course updates! Learn all about web development and become an Academind Pro member!