linux:befehle
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:befehle [2022/04/19 14:48] – gsys | linux:befehle [2025/03/27 22:04] (current) – gsys | ||
---|---|---|---|
Line 4: | Line 4: | ||
^ Befehl | ^ Befehl | ||
+ | | stat -c %w / | get OS install date and time | | ||
+ | | unzip file.zip -d / | ||
+ | | md5sum < | ||
+ | | sha256sum < | ||
+ | | %% sudo grep -sIr --exclude-dir={dev, | ||
+ | | watch -n 10 -d sudo cat / | ||
+ | | timedatectl set-timezone Europe/ | ||
+ | | cat < / | ||
+ | | gzip -d archive.gz | entpackt archiv.gz und löscht dabei das Archiv | | ||
+ | | usermod -aG sudo username | User zu sudoers Gruppe hinzufügen | | ||
| rndc flush | Clear Bind DNS-Cache | | | rndc flush | Clear Bind DNS-Cache | | ||
| rndc reload | Reload Bind | | | rndc reload | Reload Bind | | ||
- | | '' | + | | %% journalctl |
+ | |cat / | ||
|lscpu | CPU Info | | |lscpu | CPU Info | | ||
| cat / | | cat / | ||
Line 21: | Line 32: | ||
| '' | | '' | ||
| du -sh [verzeichnis] | | du -sh [verzeichnis] | ||
+ | | tar -tf archiv.tar.gz | ||
| tar -zcvf archiv.tar.gz [verzeichnis] |Erstellt einen komprimierten Ordner | | | tar -zcvf archiv.tar.gz [verzeichnis] |Erstellt einen komprimierten Ordner | | ||
| tar -zxvf archiv.tar.gz | | tar -zxvf archiv.tar.gz | ||
+ | | tar -zxvf archiv.tar.gz -C / | ||
| who -r |Zeigt aktuelles Runlevel an | | | who -r |Zeigt aktuelles Runlevel an | | ||
| chkconfig --list [service] | | chkconfig --list [service] |
linux/befehle.1650372506.txt.gz · Last modified: 2024/02/17 19:03 (external edit)