theshell.ch/site/pages/cmd/basic/openshell.html
bevilj 857011d3f5 fix tags and search variables
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@234 a672b425-5310-4d7a-af5c-997e18724b81
2018-11-16 12:47:48 +00:00

56 lines
1.7 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/open.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.