4,512
edits
→Links: Linux utilities |
|||
Line 305: | Line 305: | ||
! style="text-align: center;"| Description | ! style="text-align: center;"| Description | ||
! Command | ! Command | ||
! Distro | |||
|- | |- | ||
| Scan a network for connected computers | |||
| class="cli | | class="cli" | sudo nmap -sP 129.24.22.0/24 | ||
| | |||
|- | |||
| Open a firewall port | |||
| class="cli" | sudo firewall-cmd --zone=public --add-port=55301/tcp --permanent | |||
| {{testedon|2020-04-21|CentOS 7.7.1908}} | |||
|} | |} | ||