From DefCon Projects
Jump to: navigation, search

Combined display of all available logs of DefCon Projects. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 11:33, 2 February 2025 Webmaster talk contribs created page Mail bei YUM Updates (Created page with "Ich habe mehrere Server im Betrieb für die ich ein BASH-Skript benötigt habe das mich informiert wenn neue YUM Updates zu verfügung stehen. Ich möchte hier mit euch das BASH-Skript teilen: == Skript == <syntaxhighlight lang="c"> #!/bin/bash EMAIL="admin@example.com" STATE_FILE="/tmp/update_count.state" # Execute yum check-update and capture the output UPDATES=$(yum check-update --quiet 2>/dev/null) # Filter out empty lines and count the number of updates UPDATE...")
Cookies help us deliver our services. By using our services, you agree to our use of cookies.