--- layout: page category_title: Basic commands category-page: basic tags: Open the Shell author: Gianmarco De Vita title: Open the Shell next-page: pages/cmd/basic/ls.html ---

The tool that allows us to interact with the system with the shell is the terminal. There are mainly two ways to access to the terminal on a MacOS system.

Through the Finder

  1. Open a new Finder window by clicking on the icon on the system dock.
  2. Open Finder
  3. On the menu bar, click on Go.
  4. Click on Go
  5. Click on Utilities.
  6. Click on Utilities
  7. Look for Terminal and click on it.
  8. Open Terminal

Through Spotlight

  1. You can use the shortcut cmd+space to access to Spotlight.
  2. Access to Spotlight
  3. Then search for Terminal.
  4. Search Terminal
  5. Click on the Terminal icon displayed as result.
  6. Open Terminal

As you open the Terminal, a new blank window opens:

Terminal Blank Window

You can notice that the top lines in the window follow this structure:

Last login: Day Month  2 hh:mm:ss on console
Device-name:~ username$

The tilde (~) just before your username means that the current position in which the terminal is working is the Home directory. The gray spot next to the symbol $ after your username indicates that you can write instructions in that space.

Now, you are ready to try and use some simple commands to familiarize with this interface.

Notice that you can work simultaneously on multiple sessions of the Terminal. Just by pushing cmd+T, a new blank window will open without closing the current.