<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Linux Command Essentials by </title>
      <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2018-09-22 07:01:31 UTC</pubDate>
      <lastBuildDate>2018-10-08 19:23:49 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>ln - Verknüpfung auf Datei oder Verzeichnis</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604515</link>
         <description><![CDATA[<div><a href="https://wiki.ubuntuusers.de/ln/">https://wiki.ubuntuusers.de/ln/</a><br><strong>ln</strong> steht für <strong>l</strong>i<strong>n</strong>k und erzeugt eine Verknüpfung zu einer Datei oder einem Verzeichnis. Man kann danach auf eine Datei nicht nur über ihren ursprünglichen Namen bzw. Pfad, sondern auch über den Namen des Links zugreifen.<br><br>Create Symbolic Link<br>Einfach geschrieben:<br>ln -s /Pfad_1/echte_Datei /Pfad_2/Symlink<br><br>Konkretes Beispiel<br>ln -s /home/znici/Dokumente/test.txt /home/znici/Doks/Verknüpfung_mit_Test<br><br>Verknüpfung löschen<br>rm /home/znici/Doks/Verknüpfung_mit_Test<br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:18:06 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604515</guid>
      </item>
      <item>
         <title>Befehle für das Anzeigen und Bearbeiten von Files und Ordner</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604523</link>
         <description><![CDATA[<div>ls</div><blockquote>Beschreibung:<br>Anzeigen von Dateien in der Bash-Shell</blockquote><div><br>gängige Argumente:<br>-l (zeigt die Berechtigungen und auch die Besitzer und Gruppen an)<br><br>-a (zeigt auch versteckte Dateien - die mit Punkte starten)<br><br>-h (zeigt die Dateigrösse als "menschlich lesbar" an KB/MB/GB<br><br>Beispiel:<br>Die Argumente können beliebig kombiniert werden z.B.: ls -lah<br><br>mkdir<br>Beschreibung:<br>Wird zum erstellen von Verzeichnissen benutzt.<br><br>gängige Argumente:<br>-p (erstellt eine Serie von Verzeichnissen)<br><br>Beispiel:<br>mdkir test<br>-&gt; erstellt das Verzeichnis "test" am aktuellen Ort<br><br>mkdir /tmp/test<br>-&gt; erstellt das Verzeichnis im Pfad /tmp/test<br><br>mkdir -p /test/test1/test2<br>-&gt; erstellt die oben abgebildete Ordnerstruktur im root Verzeichnis. <br><br>rm<br>Beschreibung:<br>Löschen und Dateien und Verzeichnissen<br><br>gängige Argumente:<br>-f (erzwingt die Löschung -&gt; sind Sie sicher das Sie sicher sind???)<br><br>-r (löscht Verzeichnisse recursive -&gt; also auch die Unterverzeichnisse werden gelöscht)<br><br>Beispiel:<br><br>rm -rf /test<br>-&gt; löscht die vorher erstelle Struktur wieder.<br><br>mv<br>Beschreibung:<br>Files oder Ordner umbenennen<br><br>gängige Argumente:<br>-<br><br>Beispiel:<br>mv test test1<br>Benennt den Ordern "test" in "test1" um.<br><br>cp<br>Beschreibung:<br>Kopieren von Files oder Ordnern<br><br>gängige Argumente:<br>-r (rekursiv)<br><br>Beispiel:<br>cp text1 text2<br>-&gt; kopiert die Datei text1 nach text2<br><br>cp -r test1 test2<br>-&gt; kopiert das Verzeichnis von test1 nach test2<br><br><br><br><br><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:18:10 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604523</guid>
      </item>
      <item>
         <title>find</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604544</link>
         <description><![CDATA[<div>Der <em>find</em> Befehle ermöglich die Suche nach Dateien und Verzeichnissen mit verschiedenen Parametern.<br><br><br>Eine ausführliche Erklärung mit Beispielen kann unter dem angehängten Link gefunden werden</div>]]></description>
         <enclosure url="https://www.booleanworld.com/guide-linux-find-command/" />
         <pubDate>2018-09-22 08:18:23 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604544</guid>
      </item>
      <item>
         <title>SSH / SCP</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604578</link>
         <description><![CDATA[<div>ssh: wird zur Herstellung einer verschlüsselten Verbindung zweier Systeme verwendet.<br><a href="https://www.ssh.com/ssh/command/">https://www.ssh.com/ssh/command/</a><br><br>scp: ermöglicht es, Dateien zwischen zwei Systemen auszutauschen.<br><a href="https://www.ssh.com/ssh/scp/">https://www.ssh.com/ssh/scp/</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:18:54 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604578</guid>
      </item>
      <item>
         <title>less/more</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604610</link>
         <description><![CDATA[<div>Anzeige von Textfiles<br><strong>more</strong>: zeigt den Inhalt eines Files seitenweise (nur vorwärts blättern möglich)<br><a href="https://www.lifewire.com/what-to-know-more-command-4051953">https://www.lifewire.com/what-to-know-more-command-4051953</a><br><br><strong>less</strong>: zeigt Inhalt eines Files, ermöglicht vor- und rückwärts blättern, lädt nur jeweils eine Seite und ist daher effizienter (v.a. für grosser Files)<br><a href="https://www.lifewire.com/what-to-know-less-command-4051972">https://www.lifewire.com/what-to-know-less-command-4051972</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:19:17 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604610</guid>
      </item>
      <item>
         <title>systemctl</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604751</link>
         <description><![CDATA[<div>Systemstl ist ein Werkzeug mit dessen hilfe der Deamon (hintergrunddienst?) System d gesteuert werden kann.<br><br>Mit Systemcl kann man also Systemprozesse steusteuern<br><br>Beispiele:<br>&nbsp;<br>&nbsp;Alle Konfigurationsdateien neu laden und units neu starten:</div><pre>sudo systemctl daemon-reload </pre><div>&nbsp;</div><div>systemctl enable ssh&nbsp; (autostart für den service ssh aktivieren)</div><div>&nbsp;</div><div>systemctl disable [service]&nbsp; (autostart für [service deaktivieren])<br><br>systemctl start [application] (eine applikation starten)<br><br>&nbsp;systemctl poweroff (power off system)</div><div><br>systemctl show sshd.service (eigenschaften eines Service anzeigen<br>Beispiel output:<br>&nbsp;</div><pre>Id=sshd.service
Names=sshd.service
Requires=basic.target
Wants=system.slice
WantedBy=multi-user.target
Conflicts=shutdown.target
Before=shutdown.target multi-user.target
After=syslog.target network.target auditd.service systemd-journald.socket basic.target system.slice
Description=OpenSSH server daemon
. . . </pre><div><br><br><br>&nbsp;systemctl status [application.service] (den status eines Services auf dem System abfragen)<br><br>=&gt; Beispielhaft der output für die statusabfrage eines nging (wie apache oder IISvon microsoft)<br>&nbsp;</div><pre>nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2015-01-27 19:41:23 EST; 22h ago
 Main PID: 495 (nginx)
   CGroup: /system.slice/nginx.service
           ├─495 nginx: master process /usr/bin/nginx -g pid /run/nginx.pid; error_log stderr;
           └─496 nginx: worker process
Jan 27 19:41:23 desktop systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 27 19:41:23 desktop systemd[1]: Started A high performance web server and a reverse proxy server. </pre><div><br>Quellen: <br><a href="https://wiki.ubuntuusers.de/systemd/systemctl/">https://wiki.ubuntuusers.de/systemd/systemctl/</a><br><br><a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-power">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-managing_services_with_systemd-power</a><br><br><a href="https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units">https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:21:00 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604751</guid>
      </item>
      <item>
         <title>tar, gzip, bzip2, star</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604888</link>
         <description><![CDATA[<div>Die  Befehle sind für archivierung-<br>Beispiele: <br><br></div><div>tar</div><div>Create an archive.</div><pre># cd /tmp
# tar -cvf archive1.tar test-dir</pre><div>Check the contents.</div><pre># tar -tvf /tmp/archive1.tar</pre><div>Extract it. </div><pre># cd /tmp/extract-dir
# tar -xvf /tmp/archive1.tar </pre><div><br></div><div>star</div><div>The star command may not be installed by default, but you can install it with the following command.</div><pre># yum install star</pre><div>Create an archive.</div><pre># cd /tmp
# star -cv f=archive2.star test-dir</pre><div>Check the contents.</div><pre># star -tv f=/tmp/archive2.star</pre><div>Extract it.</div><pre># cd /tmp/extract-dir
# star -xv f=/tmp/archive2.star</pre><div>gzip</div><div>The gzip command compresses the specified files, giving them a ".gz" extension. In this case we will use it to compress a ".tar" file.</div><pre># cd /tmp
# tar -cvf archive3.tar test-dir
# gzip archive3.tar</pre><div>The "-z" option of the tar command allows you to do this directly.</div><pre># cd /tmp
# tar -cvzf archive3.tar.gz test-dir</pre><div>The files are uncompressed using the gunzip command.</div><pre># gunzip archive3.tar.gz</pre><div>The "-z" option of the tar command allows you to directly ungzip and extract a ".tar.gz" file.</div><pre># cd /tmp/extract-dir
# tar -xvzf /tmp/archive3.tar.gz</pre><div>bzip2</div><div>The bzip2 command is similar to the gzip command. It compresses the specified files, giving them a ".bz2" extension. In this case we will use it to compress a ".tar" file.</div><pre># cd /tmp
# tar -cvf archive4.tar test-dir
# bzip2 archive4.tar</pre><div>The "-j" option of the tar command allows you to do this directly.</div><pre># cd /tmp
# tar -cvjf archive4.tar.bz2 test-dir</pre><div>The files are uncompressed using the bunzip2 command.</div><pre># bunzip2 archive4.tar.bz2</pre><div>The "-j" option of the tar command allows you to directly bunzip2 and extract a ".tar.bz2" file.</div><pre># cd /tmp/extract-dir
# tar -xvjf /tmp/archive4.tar.bz2</pre><div>zip</div><div>Create an archive.</div><pre># cd /tmp
# zip -r archive5.zip test-dir</pre><div>Check the contents.</div><pre># unzip -l archive5.zip</pre><div>Extract it.</div><pre># cd /tmp/extract-dir
# unzip /tmp/archive5.zip </pre><div><br>Quelle: <a href="https://oracle-base.com/articles/linux/linux-archive-tools#tar">https://oracle-base.com/articles/linux/linux-archive-tools#tar</a></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:22:23 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284604888</guid>
      </item>
      <item>
         <title>chmod/chown</title>
         <author></author>
         <link>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284606543</link>
         <description><![CDATA[<div>Mit chmod verändert man die <a href="https://wiki.ubuntuusers.de/Rechte/#Zugriffsrecht">Zugriffsrechte</a> von Dateien.&nbsp;<br> &nbsp;</div><div>chown steht für change owner und erlaubt das Ändern des Eigentümer-Benutzers und/oder der Eigentümer-Gruppe von Dateien.&nbsp;<br><br>mit -R kann man die Aenderungen rekursiv auf verschiedene Files oder Datien anwenden<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-09-22 08:43:41 UTC</pubDate>
         <guid>https://padlet.com/lukas_camenzind/i5z4xu4i7i0e/wish/284606543</guid>
      </item>
   </channel>
</rss>
