Staticka = nemenna adresa pridelana ISP nebo spravcem site pro PC
Dynamicka = pridelovana DHCP serverem po pripojeni do site, ma dobu expirace,atd
Verejna = je videt do internetu
Neverejna = vetsinou schovana za nejakou Gateway poskytovatele

sudo /etc/init.d/networking restart <===> restartuje sitovku (pouze u SysVinit)
sudo /etc/init.d/networking stop <===> stopne sitovku (pouze u SysVinit)
sudo /etc/init.d/networking start <===> nastartuje sitovku (pouze u SysVinit)
sudo systemctl restart networking <===> restartuje sitovku na linuxu s {pouze systemD}


Network address can be of one of the following

Unicast (destined to one host)
Multicast (destined to group)
Broadcast (destined to all)
Anycast (destined to nearest one)


scp file1 user@host:/path/to/destination/ <===> pomocní programu SCP zkopiruje soubor pres sit na jiny PC
scp -r /home/uzivatel-mistni/xxx Tato e-mailová adresa je chráněna před spamboty. Pro její zobrazení musíte mít povolen Javascript..0.1:/tmp <===> pomocní programu SCP zkopiruje cely adresar xxx i vnorene slozky pres sit na jiny PC do slozky tmp

neboli

scp soubor uzivatel@hostname:destination_path <===> You can send a single file to server
scp -r slozka uzivatel@hostname:destination_path <===> You can send a whole directory to server 


sudo /etc/init.d/saned stop <===> zastavi sluzbu saned /**/ saned is the SANE (Scanner Access Now Easy) daemon that allows remote clients to access image acquisition devices available on the local host.

testparm /etc/samba/smb.conf <===> otestuje spravnost samba serveru

lsof <===> Lists information about files that are open by the processes running on the system
lsof | grep -i ipv4 <===> ???
lsof -Pn | grep -i ipv4 <===> ???
sudo lsof -i :80 <===> To find the process/service listening on a particular port, type (specify the port).
sudo lsof -i -P -n <===> This lsof command is used to find the files and processes used by a user. The options used here are: -i: If no IP address is specified, this option selects the listing of all network files -P: inhibits the conversion of port numbers to port names for network files -n: inhibits the conversion of network numbers to host names for network files 


sudo fuser -v {otevreny-port}/tcp <===> zjisti PID otevrenyho portu
sudo fuser -kw {otevreny-port}/tcp <===> zabije proces ktery vyuziva port
sudo fuser -v -n tcp 45171 <===> zjisti co pouziva konkretni port 45171 / To find out what uses a specific port do

pokud nemam nainstalovany fuser, je potreba nainstalovat psmisc
sudo apt install psmisc


arp -a <===> vypise arp tabulku

iwlist <===> Co vse umi vase sitova WIFI karta
iwlist {wlan0} scan <===> Skenuje vsechny podrobnosti o AP ve vasem okoli / jake jsou wifi ve vasem okoli
nc <===> Utility which reads and writes data across network connections, using TCP or UDP protocol
networkctl <===> Introspect the state of network links
wpa_supplicant <===> Textmode wifi client
ipcalc 192.168.0.1 <===> Vypocita vse o vasi IP adrese
iw wlan0 info <===> informace o wifine

ethtool eth0 <===> dostaneme velice hezky sesumarizované veškeré informace týkající se síťového hardwaru (a možných voleb při konfiguraci).

rpcinfo <===> makes an RPC call to an RPC server and reports what it finds.

iptraf-ng <===> CLI nastroj na mereni site