Update .profile

This commit is contained in:
jfontaine35
2023-02-02 10:37:52 +01:00
committed by GitHub
parent 28c9ea7a20
commit af6320535c
+1
View File
@@ -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