Last active
September 28, 2018 09:44
-
-
Save primozw/1e2126fd0a23b18f302b7bb6587e1699 to your computer and use it in GitHub Desktop.
Revisions
-
primozw revised this gist
Sep 28, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ netstat -ap tcp | grep -i "listen" # Pingaj računalnik z naslovom IP 192.168.0.1 ping 192.168.0.1 # Prikaži pot paketka do ah.gov.cn traceroute -d ah.gov.cn # Počisti dns cache -
primozw created this gist
Sep 28, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,45 @@ # Pregled nastavitev vseh omrežnih vmesnikov ifconfig # Pregled nastavitev specifičnega omrežnega vmesnika ifconfig en0 # Prikaži IP naslov za omrežno povezavo en0 ipconfig getifaddr en0 # Prikaži podmasko omrežnega vmesnika en0 ipconfig getoption en0 subnet_mask # Prikaži rekurzivne imenske strežnike, ki so uporabljeni na omrežnem vmesniku en0 ipconfig getoption en0 domain_name_server # Prikaži usmerjevalno tabelo netstat -r # Prikaži vse vtičnice, ki poslušajo in uporabljajo protokol TCP netstat -ap tcp | grep -i "listen" # Pingaj računalnik z naslovom IP 192.168.0.1 ping 192.168.0.1 # Prikaži pot paketka traceroute -d ah.gov.cn # Počisti dns cache dscacheutil -flushcache # Prikaži ime gostitelja hostname #Komunikacija z imenskimi strežniki nslookup 8.8.8.8 nslookup google.si # Prikaži omrežne informacije v realnem času nettop # Prikaži omrežne informacije v realnem času – prikaži usmerjevalno tabelo nettop -m route # Prikaži omrežne informacije v realnem času – prikaži samo TCP komunikacijo nettop -m tcp