https://wiki.opena.tv/index.php?title=Shellbefehle&feed=atom&action=history
Shellbefehle - Versionsgeschichte
2024-03-28T08:09:46Z
Versionsgeschichte dieser Seite in OE-Alliance Support Wiki
MediaWiki 1.26.2
https://wiki.opena.tv/index.php?title=Shellbefehle&diff=1577&oldid=prev
Hypnotoad am 31. Juli 2012 um 17:07 Uhr
2012-07-31T17:07:59Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='de'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Nächstältere Version</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Version vom 31. Juli 2012, 17:07 Uhr</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l308" >Zeile 308:</td>
<td colspan="2" class="diff-lineno">Zeile 308:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>:"usermod" = Aendern eines bestehenden Useraccounts.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>:"usermod" = Aendern eines bestehenden Useraccounts.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|- </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">| Width="100%" style="background-color:#DFEEFF" colspan="3" |</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">=== Erklärung zu chmod ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|-  style="vertical-align:top"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Mit dem Befehl '''chmod''' kann man die Rechte von Verzeichnissen bzw. von Dateien setzen.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Hierzu ein Beispiel:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Mit dem Befehl</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> '''ls -l /usr/bin/build-combi.sh'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">kann ich mir die Rechte des Files '''build-combi.sh''' welches im Verzeichnis '''/usr/bin''' liegt anzeigen lassen.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die Ausgabe sieht hier dann so aus:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> '''-rwxr-xr-x    1 root    root'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Nun was bedeutet das;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die ersten drei Zeichen also '''rwx''' gehören dem '''User''' (also dem '''Eigentümer''' des '''Files''' -> beim '''CT ET9x00''' ist das klar der '''root''').</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die nächsten Zeichen also '''r-x''' (hier haben wir kein '''w''' dabei) gehören der '''Group''' also der '''Gruppe''' ( die '''Gruppe''' ist hier ebenfalls '''root''').</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die letzten drei Zeichen '''r-x''' (wieder kein '''w''' dabei) gehören den '''Others''' (also einfach den '''Anderen''').</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Nun zu den Zeichen und deren Bedeutung;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''r''' = '''readable''' (also lesbar) und deren '''zugewiesene Zahl''' ist immer  --------------> '''4'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''w''' = '''writeable''' (also schreibbar) und deren '''zugewiesene Zahl''' ist immer  ------> '''2'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''x''' = '''executable''' (also ausführbar) und deren '''zugewiesene Zahl''' ist immer ----> '''1'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Besonderheit bei Verzeichnissen:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Bei Verzeichnissen steht das Execute-Bit, dafür dass die jeweilige Gruppe in das Verzeichnis wechseln darf.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Für obiges Beispiel zur '''build-combi.sh''' ergibt sich dann folgendes;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Der '''User''' also der '''root''' besitzt die Rechte '''rwx''' das ist dann ----> '''7'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die '''Group''' auch '''root''' besitzt die Rechte  '''r-x''' das ist dann --------> '''5'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Die '''Others''' besitzen die Rechte              '''r-x''' das ist dann --------------------> '''5'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">ergibt also insgesammt die Zahl '''755'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Würde man nun also zum Beispiel die gleichen '''Rechte''' für '''/usr/bin/grab''' setzen wollen</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">wär der Befehl dazu dann dieser;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> '''chmod 755 /usr/bin/grab'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Würde man '''/usr/bin/grab''' hingegen nur zum Beispiel</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''lesbar''' und '''schreibbar''' für den '''User''' also den '''root'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">und für die '''Group''' und '''Others''' nur '''lesbar''' machen wollen</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">wäre das dann dieser Befehl;</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> '''chmod 644 /usr/bin/grab'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Ach ja, eines noch das '''executable''' (ausführbar) '''Recht''' also '''x''' wird z.b: für '''Scripts''' oder</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">auch '''binarys''' (Programme) gebraucht denn '''die''' müssen unbedingt ausführbar sein.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Da gäbs sicher noch mehr dazu zu sagen, aber für den '''CT ET9x00''' reicht das vollkommen aus und man sollte</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">sich jetzt leicht selbst ausrechnen können '''welche Rechte''' man mit '''welchen Zahlen''' setzen kann.</ins></div></td></tr>
</table>
Hypnotoad
https://wiki.opena.tv/index.php?title=Shellbefehle&diff=1576&oldid=prev
Hypnotoad: Die Seite wurde neu angelegt: „{| width="100%" border="0" cellspacing="0" cellpadding="10" style="border-collapse:collapse;" |- | Width="100%" style="background-color:#DFEEFF" colspan="3" |…“
2012-07-31T17:06:24Z
<p>Die Seite wurde neu angelegt: „{| width="100%" border="0" cellspacing="0" cellpadding="10" style="border-collapse:collapse;" |- | Width="100%" style="background-color:#DFEEFF" colspan="3" |…“</p>
<p><b>Neue Seite</b></p><div>{| width="100%" border="0" cellspacing="0" cellpadding="10" style="border-collapse:collapse;"<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
=== Verzeichnis Operationen ===<br />
|- style="vertical-align:top"<br />
| Width="100%" |<br />
<br />
:"cd" = Wechselt in das angegebene Verzeichnis (bsp: "cd /tmp/")<br />
<br />
:"ls" = Zeigt den Inhalt des aktuellen oder des angegebenen Verzeichnisses an. ("ls -l" macht das noch übersichtlicher)<br />
<br />
:"mkdir" = Legt ein neues Verzeichnis an.<br />
<br />
:"pwd" = Zeigt das aktuelle Verzeichnis an.<br />
<br />
:"rmdir" = Loescht ein Verzeichnis.<br />
<br />
| Width="5px" style="border-top: none" |<br />
| Width="200px" | <br />
__TOC__<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Editoren ===<br />
|- style="vertical-align:top"<br />
| <br />
<br />
:"vi" = Standard Unix-Editor zum bearbeiten von Datein.<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Datei Operationen ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"basename" = Gibt einen Dateinamen ohne Pfadangaben aus.<br />
<br />
:"cat" = Verbindet mehrere Dateien und gibt das Ergebnis auf Standardausgabe aus. (bsp: "cat /proc/cpuinfo")<br />
<br />
:"chgrp" = Gruppenzugehoerigkeit einer Datei aendern.<br />
<br />
:"[[chmod]]" = Zugriffsrechte aendern. (rwx)<br />
<br />
:"chown" = Eigentuemer einer Datei aendern.<br />
<br />
:"cmp" = Vergleicht zwei Dateien auf Uebereinstimmung.<br />
<br />
:"cp" = Kopiert Dateien und Verzeichnisse.<br />
<br />
:"cpio" = Kopiert Dateien in bzw. aus Archiven<br />
<br />
:"dirname" = Gibt nur den Pfad zu einer Datei aus<br />
<br />
:"file" = Zeigt den Dateitypen einer Datei an.<br />
<br />
:"head" = Gibt die ersten Zeilen einer Datei aus.<br />
<br />
:"less" = Eine bestimmte Anzahl Zeilen einer Datei anzeigen.<br />
<br />
:"ln" = Erstellt einen Link zu einer Datei/Verzeichnis (bsp: "ln -s /media/sdb1/picon /usr/share/*******")<br />
<br />
:"mkdir" =Erstellt eine Verzeichnishierarchie.<br />
<br />
:"more" = Durch einen Text scrollen. (nur nach unten).<br />
<br />
:"mv" = Verschiebt Dateien und Verzeichnisse. (bennennt auch um)<br />
<br />
:"rm" = Loescht Dateien und Verzeichnisse.<br />
<br />
:"split" = Datei aufteilen. (zB zum Transport per Mail oder Usbstick...)<br />
<br />
:"tail" = Gibt die letzten Zeilen einer Datei aus.<br />
<br />
:"touch" = Aendert den Zeitstempel von Dateien. Wenn eine Datei nicht existiert, wird sie mit einer Groesse von 0 Byte angelegt.<br />
<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== System Infos ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"df" = Zeigt die Speicherauslastung der Partitionen des Systems an. ("df -h" noch schöner")<br />
<br />
:"free" = Zeigt die Speicherauslastung des Systems an. Geteilt in RAM und SWAP-Space.<br />
<br />
:"dmesg" = zeigt den verlauf des Bootvorgangs. (um zu sehen ob zb Hdd richtig erkannt worden sind oder andere geräte)<br />
<br />
:"du" = Zeigt den Speicherverbrauch einzelner Verzeichnisse an.<br />
<br />
:"uptime" = Zeigt die Uptime der Maschine an. Die Uptime ist die Zeit seit dem letzten Reboot.<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Prozess Management ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"top" = Zeigt Prozesse in einer sich staendig aktualisierenden Liste an. Die Prozesse, die die meiste CPU-Zeit brauchen, werden zu oberst :angezeigt.<br />
<br />
:"ps" = Zeigt alle Prozesse mit ihrer PID, der User-ID des ausfuehrenden Users, die Terminal-ID etc. an.<br />
<br />
:"kill" = Beendet den Prozess mit der uebergebenen Prozess-ID. (PID siehe in top)<br />
<br />
:"killall" = Beendet alle Prozesse mit dem uebergebenen Namen.<br />
<br />
:"killproc" = Beendet den Prozess, dessen ausfuehrbare Datei im uebergebenen Pfad zu finden ist.<br />
<br />
:"nice" = Setzt die Prioritaet eines Prozesses<br />
<br />
:"nohup" = Startet ein Programm immun gegen SIGHUPs<br />
<br />
:"pidof" = Gibt die PID(s) des Prozesses mit dem uebergebenen Namen aus<br />
<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Netzwerk Management ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
<br />
:"ifconfig" = Konfiguriert Netwerk-Schnittstellen, bzw gibt deren Konfiguration und Status aus.<br />
<br />
:"netstat" = Gibt Informationen ueber Netzwerkverbindungen, Routingtabellen ua aus.<br />
<br />
:"ping" = Sendet kleine Datenpakete an die angegebene IP-Adresse bzw. den angegebenen DNS-Namen und wartet auf eine Antwort der Gegenstelle. :Zum ueberpruefen einer Netzverbindung. (bsp: "ping www.heise.de")<br />
<br />
:"route" = Manipuliert die Routen zu entfernten Rechnern. Normalerweise zum Erstellen einer statischen Route zu einem speziellen Rechner.<br />
<br />
:"telnet" = oeffnet eine Telnet-Session zum angegebenen Rechner (IP oder DNS). Per Telnet kann ein anderer Rechner ""ferngesteuert"" werden."<br />
<br />
:"tty" = Zeigt das device an, ueber das man angemeldet ist<br />
<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Partitions Management ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"badblocks" = Durchsucht einen Partition nach beschaedigten Bloecken. (BadBlocks)<br />
<br />
:"dd" = Kopiert Partitionen/Dateisysteme bytegenau.<br />
<br />
:"e2fsck" = Prueft und repariert Linux ext2 Dateisysteme.<br />
<br />
:"e2label" = Weist einem Dateisysten ein Label (Bezeichnung) zu, bzw gibt das Label aus.<br />
<br />
:"fdisk" = Legt Partitionen an und loescht sie. Anzeige der aktuellen Partitionstabelle.<br />
<br />
:"fsck" = Prueft und repariert Linux Dateisysteme.<br />
<br />
:"hdparm" = Programm zum Einstellen verschiedener Parameter einer Festplatte.<br />
<br />
:"mke2fs" = Erzeugt ein ext2 Dateisystem auf der angegebenen Partition.<br />
<br />
:"mkfs" = Frontend zu verschiedenen Filesystem-Erstellern.<br />
<br />
:"mkswap" = Erzeugt eine Linux Swap-Partition auf der angegebenen Partition.<br />
<br />
:"mount" = Haengt ein Dateisystem (eine Partition, Diskette..) in den Verzeichnisbaum ein. (an einen Mountpoint) ("mount /dev/sda1 /media/hdd")<br />
<br />
:"umount" = Loest ein Dateisystem aus dem Verzeichnisbaum. ("umount /dev/sda1")<br />
<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Suchen ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"find" = Umfangreiches Suchtool.<br />
<br />
:"locate" = Sucht Dateien mittels eines Indexes, der durch updatedb erstellt wird.<br />
<br />
:"whereis" = Sucht das Binary (ausfuehrbare Datei), den Quellcode und die man-Page eines Programmes.<br />
<br />
:"which" = Gibt den ersten gefunden Pfad eines Programmes im Pfad (echo $PATH) an.<br />
<br />
<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Komprimierung ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"ar" = Archiv- und Bibliotheksverwaltung.<br />
<br />
:"gzip" = Komprimiert und dekomprimiert Dateien im Lempel-Ziv Verfahren.<br />
<br />
:"tar" = Komprimiert und dekomprimiert Archive mehrerer Dateien.<br />
<br />
:"unzip" = Dekomprimiert zip-Archive.<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== Verschiedenes ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"reboot" = Neu starten des Systems.<br />
<br />
:"init" = Runlevel wechseln.<br />
<br />
:"shutdown" = Runterfahren, bzw. Reboot des Systems.<br />
<br />
:"cal" = Zeigt einen Kalender an.<br />
<br />
:"clear" = Loescht den Inhalt der Konsole.<br />
<br />
:"crontab" = Zeigt die userspezifische Cron-Tabelle an, bzw. oeffnet sie zum editieren.<br />
<br />
:"date" = Gibt das aktuelle Datum aus.<br />
<br />
:"echo" = Gibt einen Text auf der Konsole aus.<br />
<br />
:"env" = Gibt alle Umgebungsvariablen aus.<br />
<br />
:"expr" = Auswerten von Ausdruecken.<br />
<br />
:"find" = Durchsucht den Verzeichnisbaum, ausgehend vom aktuellen Verzeichnis, nach einer Datei.<br />
<br />
:"fold" = Bricht ueberlange Zeilen um.<br />
<br />
:"grep" = Sucht nach einer Zeichenfolge in einer Datei, oder einer umgeleiteten Ausgabe. (echo test.txt | grep blafasel)<br />
<br />
:"halt" = Runterfahren des Systems.<br />
<br />
:"hostname" =Zeigt den Namen des Rechners an.<br />
<br />
:"rev " =Zeichenfolge umkehren.<br />
<br />
:"sleep" = Eine Anzahl von Sekunden warten.<br />
<br />
:"sort" = Sortiert die Ausgabe von Programmen, bzw Dateien.<br />
<br />
:"strings" = Extrahiert alle (lesbaren) Zeichenfolgen aus einer Datei/Eingabe.<br />
<br />
:"type" = Zeigt den Typen einer Datei und die Interpretation des Dateinamens als Parameter an.<br />
<br />
:"uniq" = Entfernt doppelte Zeilen in einer Datei.<br />
<br />
:"wc" = Zaehlt Buchstaben, Zeilen und Woerter der Eingabe.<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== User Infos ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
:"groups" = Gibt die Gruppenzugehoerigkeit eines Users aus.<br />
<br />
:"id" = Gibt den eigenen Login-Namen inklusive Gruppe aus.<br />
<br />
:"last" = Zeigt die letzten Logins an.<br />
<br />
:"logname" = Gibt den eigenen Login-Namen aus.<br />
<br />
:"who" = Gibt die Login-Namen der momentan eingelogten User zusammen mit den Terminal-IDs und dem Login-Zeitpunkt aus.<br />
<br />
:"whoami" = Gibt den eigenen Login-Namen aus<br />
<br />
|- <br />
| Width="100%" style="background-color:#DFEEFF" colspan="3" |<br />
<br />
=== User-Account Management ===<br />
|- style="vertical-align:top"<br />
|<br />
<br />
<br />
:"chfn" = Aendern der User-Informationen eines AccountsRoom-NumberWork-PhoneHome-Phone.<br />
<br />
:"chsh" = Aendern der Login-Shell eines Useraccounts.<br />
<br />
:"exit" = Aktuelle Session verlassen (auslogen).<br />
<br />
:"groupadd" = Anlegen einer neuen User-Gruppe.<br />
<br />
:"groupdel" = Loeschen einer bestehenden User-Gruppe.<br />
<br />
:"groupmod" = Aendern der Daten einer bestehenden User-Gruppe.<br />
<br />
:"login" = Als Benutzer anmelden bzw. neu anmelden.<br />
<br />
:"newgrp" = Aendern der aktuellen Gruppe.<br />
<br />
:"passwd" = Festlegen bzw. Aendern des Passwortes eines Useraccounts.<br />
<br />
:"su" = Neue Session mit anderem Account aufmachen (su - : root-Account).<br />
<br />
:"sudo" = Befehl als root ausfuehren.<br />
<br />
:"useradd" = Anlegen eines neuen Useraccounts. Zumindest der Login-Name muss angegeben werden.<br />
<br />
:"userdel" = Loeschen eines Useraccounts.<br />
<br />
:"usermod" = Aendern eines bestehenden Useraccounts.</div>
Hypnotoad