Unix / Linux & Co

# get distribution
$ uname -a

# Check which Debian release is installed
$ cat /etc/os-release
cat /etc/issue
$ cat /etc/debian_version


Repeatedly execute and watch a command in Terminal

If you want to see whats going on you can use the watch command to repeat a command periodically over time.

watch -n2 -d ls -la /my/path  #Watching disk space during big file operations: watch -n2 -d df -h  # Arguments: # -d | --differences [permanent] = Highlight differences # -n, --interval <seconds> = Update interval 
Wir bearbeiten Dein Feedback aus diesem Formular über gitlab.com – Du kannst das E-Mail Feld leer lassen, falls Du keine Antwort von uns erwartest. Alternative Kontaktmöglichkeiten findest Du im Impressum.