From af6320535cb5ef48084287058dc24ff7635e9d76 Mon Sep 17 00:00:00 2001 From: jfontaine35 <76435797+jfontaine35@users.noreply.github.com> Date: Thu, 2 Feb 2023 10:37:52 +0100 Subject: [PATCH] Update .profile --- .profile | 1 + 1 file changed, 1 insertion(+) diff --git a/.profile b/.profile index 718b17a..1f93325 100644 --- a/.profile +++ b/.profile @@ -58,6 +58,7 @@ echo "Bienvenue sur : $(hostname -f) ($(hostname -I)) !" echo "******************************************************" echo "Note: Toutes actions sur ce serveur sont enregistrees." echo "------------------------------------------------------" +echo -e "Date d'installation : $(stat / | grep "Birth" | sed 's/Birth: //g' | cut -b 2-11)" ping -c 1 "$host1" > /dev/null 2>&1 if [ $? -ne 0 ]; then