Skip to content

Commit 9997ad7

Browse files
authored
more about network
1 parent f385a29 commit 9997ad7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,9 @@ Regular expressions.
715715
- `kill -l`: print all the signals that we can use to kill a process.
716716

717717
## Network linux commands
718+
- ip adress classes:
719+
![image](https://user-images.githubusercontent.com/34305250/155011424-5be7d7b0-fea4-437d-8e5c-094655422281.png)
720+
718721
- `hostname`: to print the name of the host, with `-d` option it prints the domain name which the machine belongs to, with `-f` option, it prints the fully qualified domaine name, with -`i`, it prints the ip address of the machine.
719722
- `ping`: used to cchechk the establishement of the connection and also the speed of that connection, `ping www.google.fr`.
720723
- `netstat`: list detailed information about connection to and from the host, with `-t` option we list only tcp connections, with u only udp connections and with `-l` we list only listening ports, with -p we list also the pid/program name information.
@@ -730,6 +733,9 @@ Regular expressions.
730733
- `ifconfig eth0 down`: disabling eth0 interface.
731734
- `nslookup`: to get ip address from dns name or vise-virsa: `nslookup www.google.fr`.
732735
- `traceroute`: utility to view the number of hopes to reach a given host.
736+
- `ip addr show`: print the network interfaces datails, `ip a s` for the abreviated command.
737+
- `route -n`: print the routing table.
738+
- `nmcli connection show`: to print the details of the connections.
733739

734740
## [man page](#man-page)
735741
- man is the builtin help system in Linux, man is short for manual, a man page is a documentation.

0 commit comments

Comments
 (0)