Erreur32 / rcconf_bash.sh
0 Favoriten
0 Forks
2 Dateien
Zuletzt aktiv 1 month ago
| 1 | #!/usr/bin/env bash |
| 2 | set -euo pipefail |
| 3 | |
| 4 | [ "$EUID" -ne 0 ] && { echo "Exécuter en root"; exit 1; } |
| 5 | |
| 6 | export TERM="${TERM:-xterm-256color}" |
| 7 | export NCURSES_NO_UTF8_ACS=1 |
| 8 | |
| 9 | . /etc/os-release |
| 10 | OS_INFO="$NAME $VERSION_ID" |
Erreur32 / check_temperature_all.sh
1 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
| 1 | #!/usr/bin/env bash |
| 2 | # ========================================================= |
| 3 | # Nom : check_temp_all.sh |
| 4 | # Objet : Afficher les températures système en console |
| 5 | # |
| 6 | # Description : |
| 7 | # - Affiche les températures système détectées via `sensors` (lm-sensors), |
| 8 | # NVMe et GPU (NVIDIA). |
| 9 | # - Classe les valeurs par catégorie : CPU, Carte mère, RAM, NVMe, GPU, Autres. |
| 10 | # - Colore les valeurs selon leur plage : |
Erreur32 / bash_color_script.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 1 month ago
| 1 | #!/bin/bash |
| 2 | |
| 3 | # This program is free software. It comes without any warranty, to |
| 4 | # the extent permitted by applicable law. You can redistribute it |
| 5 | # and/or modify it under the terms of the Do What The Fuck You Want |
| 6 | # To Public License, Version 2, as published by Sam Hocevar. See |
| 7 | # http://sam.zoy.org/wtfpl/COPYING for more details. |
| 8 | |
| 9 | for fgbg in 38 48 ; do #Foreground/Background |
| 10 | for color in {0..256} ; do #Colors |
Neuer
Älter