theshell.ch/site/pages/cmd/basic/0-openshell.html
bevilj a6515acdb9 order pages for navigation
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@254 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-18 20:38:56 +00:00

57 lines
1.8 KiB
HTML

---
layout: page
category-page: basic
category-title: Basic commands
tags: Open the Shell
author: Gianmarco De Vita
title: Open the Shell
next-page: pages/cmd/basic/1-terminal-toolbar.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.
<h3>Through the Finder</h3>
<ol>
<li>Open a new <i>Finder</i> window by clicking on the icon on the system dock.</li>
<img src="" alt="Open Finder" />
<li>On the menu bar, click on <i>Go</i>.</li>
<img src="" alt="Click on Go" />
<li>Click on <i>Utilities</i>.</li>
<img src="" alt="Click on Utilities" />
<li>Look for <i>Terminal</i> and click on it.</li>
<img src="" alt="Open Terminal" />
</ol>
<h3>Through <i>Spotlight</i></h3>
<ol>
<li>You can use the shortcut <code>cmd+space</code> to access to <i>Spotlight</i>.</li>
<img src="" alt="Access to Spotlight" />
<li>Then search for <i>Terminal</i>.</li>
<img src="" alt="Search Terminal" />
<li>Click on the <i>Terminal</i> icon displayed as result.</li>
<img src="" alt="Open Terminal" />
</ol>
As you open the Terminal, a new blank window opens:
<img src="" alt="Terminal Blank Window" />
You can notice that the top lines in the window follow this structure:
<pre>
Last login: Day Month hh:mm:ss on console
Device-name:~ username$
</pre>
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.<br>
Now, you are ready to try and use some simple commands
to familiarize with this interface.<br>
Note that you can work simultaneously on multiple sessions of the Terminal.