„README.md“ ändern
This commit is contained in:
parent
2e75a8e595
commit
436d34c01a
16
README.md
16
README.md
|
@ -1,16 +1,26 @@
|
|||
# server-befehle
|
||||
|
||||
## Wichtige Befehle
|
||||
Festplattenverbrauch ermitteln:
|
||||
## Festplattenverbrauch ermitteln:
|
||||
```
|
||||
df -h
|
||||
```
|
||||
### du (Disk Usage)
|
||||
```
|
||||
du /home/
|
||||
```
|
||||
https://www.tecmint.com/check-linux-disk-usage-of-files-and-directories/
|
||||
### ncdu (CLI-based)
|
||||
```
|
||||
sudo apt install ncdu
|
||||
ncdu
|
||||
```
|
||||
|
||||
## rsync
|
||||
Rsync ohne Rechteübernahme (gut für gemountete Laufwerke SAMBA)
|
||||
```
|
||||
sudo rsync -rltv --exclude '/storage/tzm_de/var/lib/nextcloud/*' /storage/ /mnt/backup-storage/
|
||||
```
|
||||
|
||||
|
||||
## Gute Quellen
|
||||
* Bash-Skripte: https://wiki.ubuntuusers.de/Shell/Bash-Skripting-Guide_für_Anfänger/
|
||||
* Cronjobs: https://www.stetic.com/developer/cronjob-linux-tutorial-und-crontab-syntax.html
|
Loading…
Reference in New Issue