lesion 2 years ago
parent
commit
802eadf202
2 changed files with 151 additions and 5 deletions
  1. 1 1
      majo/index.html
  2. 150 4
      majo/linux/index.html

+ 1 - 1
majo/index.html

@@ -1,7 +1,7 @@
 <!doctype html>
 <html lang="en">
   <head>
-	<meta name="generator" content="Hugo 0.80.0" />
+	<meta name="generator" content="Hugo 0.95.0" />
     <meta charset="utf-8">
 <title>Presentazioni @majo</title>
 

+ 150 - 4
majo/linux/index.html

@@ -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&rsquo;e&rsquo; 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&rsquo; che non e&rsquo; mostrato.
+se non si vede non puoi manipolarlo.</p>
+</section><section>
+<h3 id="cli">CLI</h3>
+<p>Tutta l&rsquo;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&rsquo; autoesplicativo quando si conosce il linguaggio, non c&rsquo;e&rsquo; ambiguita&rsquo; e&rsquo; 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 &gt; ricetta_tiramisu.txt
+</code></pre><p>la &gt; è una redirezione, ci permette di cambiare dove finisce l&rsquo;output</p>
+</section><section>
+<h4 id="redirect-ii">Redirect II</h4>
+<pre tabindex="0"><code>echo 120g zucchero &gt;&gt; ricetta_tiramisu.txt
+</code></pre></section><section>
+<h4 id="pipe">PIPE</h4>
+<pre tabindex="0"><code>grep
+sort
+wc
+tail
+head
+</code></pre></section>