Benutzer-Werkzeuge

Webseiten-Werkzeuge


  • Deutsch (German)
  • English
  • Français (French)
de:technische-dokumentationen:befehle:befehle

Nützliche Befehle

Proxmox

#create a new LVM thin pool (size 100G) called data
lvcreate -L 100G -n data pve
lvconvert --type thin-pool pve/data

#List available LVM thin pools on volume group pve
pvesm lvmthinscan pve 

Linux auf Debian-Basis

#das System aktualisieren
sudo apt update
sudo apt upgrade

#die obsoleten Pakete entfernen
sudo apt autoremove

#das Verzeichnis wechseln
cd "Verzeichnispfad"

#eine Ebene hoch
cd ..

#die Inhalte des Verzeichnisses auflisten (inkl. versteckten)
ls (ls -a)

#Kopieren
sudo cp "datei" "zielverzeichnis"

#Verschieben
sudo mv "datei" "ort der datei" "zielverzeichnis"

#löschen
sudo rm "datei"
sudo rmdir "verzeichnispfad"

#Verzeichnis erstellen
sudo mkdir "verzeichnispfad"

#Dateisysteme anzeigen
df

#grösse eines verzeichnisses anzeigen
du

#hilfe
"befehl" -h
man man
man intro
man "befehl"

LVM-Zeugs

#Thin Volume auf Proxmox erstellen
lvcreate -V300G -n backup-git -T pve/data # -V Grösse; -n Name des Volumes; -T Thinpool

Change IP of Docker Bridge

Edit /lib/systemd/system/docker.service before start Docker. Add –bip „192.168.1.1/24“ at the end of line ExecStart=/usr/bin/dockerd.

systemctl daemon-reload
systemctl start docker

Domain Time Sync

Um die Zeit auf einem Windows-PC mit der Domäne zu synchronisieren, kann in einer Admin-Konsole der net time Befehl verwendet werden:

net time \\stiftung.ifa /set /y 
oder
w32tm /resync

Für eine Anpassung im GUI:

<CTRL>+R
datetime.cpl

Lokales User und Group Management auf Windows 10/11

To open Local Users and Groups window using lusrmgr.msc on Windows 10, you need to:

Hit the Windows Key + R button combination on your keyboard.
Type in lusrmgr.msc and hit Enter.

Alternatively, you can download an executable LUSRMGR.exe file to enable LUSRMGR.MSC in Windows 11 or 10. However, lusrmgr.msc is not available in Windows 10 Home. In this case, you can use control userpasswords2 in the Run box or Netplwiz to get to the passwords control. You can also download lusrmgr.exe to get a similar screen to that of the built-in lusrmgr tool.

de/technische-dokumentationen/befehle/befehle.txt · Zuletzt geändert: 2024/01/08 09:40 von e.rueefli