|
@@ -19,12 +19,158 @@
|
|
|
<div class="slides">
|
|
|
|
|
|
|
|
|
- <section><h3 id="intro-su-sistemi-operativi-software-libero-kernel-distro">intro su sistemi operativi, software libero, kernel, distro.</h3>
|
|
|
+ <section><h3 id="intro-su-sistemi-operativi">intro su sistemi operativi</h3>
|
|
|
+<ul>
|
|
|
+<li>cosa sono?</li>
|
|
|
+<li>che fanno?</li>
|
|
|
+</ul>
|
|
|
</section><section>
|
|
|
-<h3 id="come-si-installa-un-so-iso-usb-boot-bios">come si installa un SO, .iso, USB, boot, BIOS</h3>
|
|
|
+<h3 id="software-libero-kernel-distro">software libero, kernel, distro.</h3>
|
|
|
+<ul>
|
|
|
+<li><a href="https://it.wikipedia.org/wiki/Software_libero">Software Libero</a></li>
|
|
|
+<li><a href="https://it.wikipedia.org/wiki/Distribuzione_Linux">Distribuzioni</a></li>
|
|
|
+</ul>
|
|
|
</section><section>
|
|
|
-<h3 id="metodi-di-interazione-gui-cli">metodi di interazione, GUI, CLI</h3>
|
|
|
-</section>
|
|
|
+<h3 id="come-si-installa-un-os-boot">Come si installa un OS? BOOT</h3>
|
|
|
+</section><section>
|
|
|
+<table>
|
|
|
+<thead>
|
|
|
+<tr>
|
|
|
+<th>Marca</th>
|
|
|
+<th>Tasto</th>
|
|
|
+</tr>
|
|
|
+</thead>
|
|
|
+<tbody>
|
|
|
+<tr>
|
|
|
+<td>Acer</td>
|
|
|
+<td>F12, F9, F2, Esc</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>Apple</td>
|
|
|
+<td>Option</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>Asus</td>
|
|
|
+<td>Esc</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>Dell</td>
|
|
|
+<td>F12</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>HP</td>
|
|
|
+<td>F9</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>Huawei</td>
|
|
|
+<td>F12</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>Lenovo</td>
|
|
|
+<td>F12</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+<td>others…</td>
|
|
|
+<td>F12, Esc</td>
|
|
|
+</tr>
|
|
|
+</tbody>
|
|
|
+</table>
|
|
|
+</section><section>
|
|
|
+<h3 id="metodi-di-interazione-ui-gui-cli">metodi di interazione, UI, GUI, CLI</h3>
|
|
|
+<p>Quando ci relazioniamo agli strumenti c’e’ un linguaggio che usiamo per interagire con loro, questo modo di relazionarsi è la <u>User Interface</u>: permette alle persone (user) di interfacciarsi ai computer.
|
|
|
+<a href="https://techlearningcollective.com/foundations/command-line-basics/commands-versus-buttons">link</a></p>
|
|
|
+</section><section>
|
|
|
+<h3 id="gui">GUI</h3>
|
|
|
+<p>punta e clicca, pochissima espressività.</p>
|
|
|
+<p>nelle gui devi manipolare gli oggetti a cui vuoi riferirti puntandoli direttamente, fisicamente.
|
|
|
+siamo obbligati ad usare un dito, il puntatore. inoltre non puoi accedere a cio’ che non e’ mostrato.
|
|
|
+se non si vede non puoi manipolarlo.</p>
|
|
|
+</section><section>
|
|
|
+<h3 id="cli">CLI</h3>
|
|
|
+<p>Tutta l’espressività e la potenza di un linguaggio naturale!</p>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<aside class="notes"><ul>
|
|
|
+<li>esempio del ristorante, scelta del menu.</li>
|
|
|
+<li>come si descrivono le operazioni, nella gui ci si mette un sacco a scrivere e a ripetere</li>
|
|
|
+<li>per la cli e’ autoesplicativo quando si conosce il linguaggio, non c’e’ ambiguita’ e’ deterministico</li>
|
|
|
+</ul>
|
|
|
+</aside>
|
|
|
+</section><section>
|
|
|
+<h3 id="cli-base">CLI base</h3>
|
|
|
+<ul>
|
|
|
+<li>tutto imperativo, si chiama command line appunto</li>
|
|
|
+<li>ogni comando finisce con un invio</li>
|
|
|
+<li>spesso i comandi necessitano argomenti</li>
|
|
|
+</ul>
|
|
|
+</section><section>
|
|
|
+<h3 id="iniziamo">Iniziamo</h3>
|
|
|
+<pre tabindex="0"><code>ls
|
|
|
+</code></pre><p><a href="https://techlearningcollective.com/foundations/linux-journey/the-shell">link</a></p>
|
|
|
+</section><section>
|
|
|
+<h3 id="attributi">Attributi</h3>
|
|
|
+<pre tabindex="0"><code>ls --help
|
|
|
+ls --all
|
|
|
+ls -t
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="argomenti">Argomenti</h3>
|
|
|
+<pre tabindex="0"><code>ls Musica
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="autocompletamento">Autocompletamento</h3>
|
|
|
+<p>Usa il TAB!</p>
|
|
|
+</section><section>
|
|
|
+<h4 id="help">Help</h4>
|
|
|
+<pre tabindex="0"><code>man ls
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="echo">echo</h3>
|
|
|
+<pre tabindex="0"><code>echo ciao
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="che-giorno-è">che giorno è</h3>
|
|
|
+<pre tabindex="0"><code>????
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="filesystem">Filesystem</h3>
|
|
|
+<pre tabindex="0"><code>pwd
|
|
|
+cd .
|
|
|
+cd ..
|
|
|
+cd ~
|
|
|
+cd -
|
|
|
+cd dir
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="files">Files</h3>
|
|
|
+<pre tabindex="0"><code>less
|
|
|
+cat
|
|
|
+</code></pre></section><section>
|
|
|
+<h3 id="history">History</h3>
|
|
|
+<p>su e giù</p>
|
|
|
+<pre tabindex="0"><code>history
|
|
|
+</code></pre><p>ctrl+r</p>
|
|
|
+</section><section>
|
|
|
+<h4 id="ancora-files-e-dirs">Ancora files e dirs</h4>
|
|
|
+<pre tabindex="0"><code>cp
|
|
|
+mv
|
|
|
+rm
|
|
|
+tree
|
|
|
+mkdir
|
|
|
+</code></pre></section><section>
|
|
|
+<h4 id="cercare">Cercare</h4>
|
|
|
+<pre tabindex="0"><code>find
|
|
|
+grep
|
|
|
+</code></pre></section><section>
|
|
|
+<h4 id="redirect">Redirect</h4>
|
|
|
+<pre tabindex="0"><code>echo 120g zucchero > ricetta_tiramisu.txt
|
|
|
+</code></pre><p>la > è una redirezione, ci permette di cambiare dove finisce l’output</p>
|
|
|
+</section><section>
|
|
|
+<h4 id="redirect-ii">Redirect II</h4>
|
|
|
+<pre tabindex="0"><code>echo 120g zucchero >> ricetta_tiramisu.txt
|
|
|
+</code></pre></section><section>
|
|
|
+<h4 id="pipe">PIPE</h4>
|
|
|
+<pre tabindex="0"><code>grep
|
|
|
+sort
|
|
|
+wc
|
|
|
+tail
|
|
|
+head
|
|
|
+</code></pre></section>
|
|
|
|
|
|
|
|
|
|