Tuto terminal : Différence entre versions

De Asso Val Libre
Aller à : navigation, rechercher
(Page créée avec « Pour mémoriser une commande, on peut définir un alias alias Ping="ping -c 2" Ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from l... »)
 
Ligne 2 : Ligne 2 :
  
  
Pour mémoriser une commande, on peut définir un alias  
+
Pour mémoriser une commande, on peut définir un '''alias'''
  
 
   alias Ping="ping -c 2"
 
   alias Ping="ping -c 2"

Version du 5 janvier 2021 à 15:43


Pour mémoriser une commande, on peut définir un alias

 alias Ping="ping -c 2"
 Ping localhost
 PING localhost (127.0.0.1) 56(84) bytes of data.
 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.036 ms
 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.056 ms