« Raspbian Commandes » : différence entre les versions

Ligne 55 : Ligne 55 :
<span style="color: red;font-weight:bold;">arp</span>
<span style="color: red;font-weight:bold;">arp</span>


Pour voir les DNS en cours
#Pour voir les DNS en cours
<span style="color: red;font-weight:bold;">cat /etc/resolv.conf</span>
<span style="color: red;font-weight:bold;">cat /etc/resolv.conf</span>
<span style="color: red;font-weight:bold;">dig pi-hole.net @127.0.0.1 -p 53</span>
<span style="color: red;font-weight:bold;">dig pi-hole.net @127.0.0.1 -p 53</span>


table de routage (IPv4/IPv6)
#table de routage (IPv4/IPv6)
<span style="color: red;font-weight:bold;">ip route</span>
<span style="color: red;font-weight:bold;">ip route</span>


Vérification des interfaces
#Vérification des interfaces
<span style="color: red;font-weight:bold;">ifconfigc</span>
<span style="color: red;font-weight:bold;">ifconfigc</span>


Ligne 68 : Ligne 68 :
<span style="color: red;font-weight:bold;">netstat -lntup</span>
<span style="color: red;font-weight:bold;">netstat -lntup</span>


Lister tous les ports :
#Lister tous les ports :
<span style="color: red;font-weight:bold;">netstat -a</span>
<span style="color: red;font-weight:bold;">netstat -a</span>


Lister tous les ports TCP :
#Lister tous les ports TCP :
<span style="color: red;font-weight:bold;">netstat -at</span>
<span style="color: red;font-weight:bold;">netstat -at</span>