Outils pour utilisateurs

Outils du site


ubu:ubb

Exercices Chapitre 3 Fortunes Cowsay


Fortunes

installation : sudo apt install fortunes
manuel : man fortunes
utilisation : fortunes
liste des fichiers installés par le package : dpkg -L fortunes

Cowsay

installation : sudo apt install cowsay
manuel : man cowsay
utilisation : cowsay quelque chose

Fortunes + Cowsay

utilisation : fortune | cowsay
lancement au démarrage : ajouter la commande fortune | cowsay à la fin du fichier ~/.bashrc ce qui donnera comme résultat lorsque l'on exécutera un terminal:

 ________________________________________
/ * joeyh installs debian using only his \
| big toe, for a change of pace          |
|                                        |
\ -- in #debian-boot                     /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


Installation automatique des “security updates”

Décommenter la ligne

“${distro_id}:${distro_codename}-updates”;

du fichier /etc/apt/apt.conf.d/50unattended-upgrades


Ubuntu Serveur

ubu/ubb.txt · Dernière modification : de 127.0.0.1