merge confilct
This commit is contained in:
commit
6f9a8f4076
15
4.html
15
4.html
@ -302,24 +302,19 @@ dany 23893 4143 0 12:33 pts/4 00:00:00 bash
|
||||
<p class="fragment "> Der <span class="fragment highlight-red">Kontext</span> aller Script Variablen ist der der <span class="fragment highlight-red">sub-shell</span>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
<section>
|
||||
<div><span style="color: orange">Aufgabe:</span> Erstellt ein script, das alle Dateien in eurem home in einer tar.gz - Datei archiviert, das Verzeichnis "~/archiv" erstellt, und die tar.gz Datei dorthin verschiebt.<br />
|
||||
Hinweis: tar -czf .....
|
||||
<p class="fragment">https://linuxconfig.org/bash-scripting-tutorial</p></div>
|
||||
<p class="fragment">https://linuxconfig.org/bash-scripting-tutorial</p>
|
||||
</div>
|
||||
|
||||
<dir class="fragment"><pre><code>#!/bin/bash
|
||||
<div class="fragment"><pre><code>#!/bin/bash
|
||||
tar -czf myhome_directory.tar.gz /home/$USER
|
||||
mkdir archiv
|
||||
mv myhome_directory.tar.gz archiv/
|
||||
|
||||
</code></pre></dir>
|
||||
|
||||
|
||||
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
Loading…
Reference in New Issue
Block a user