Linux: Difference between revisions

118 bytes added ,  21 April 2020
→‎Links: Linux utilities
Line 305: Line 305:
! style="text-align: center;"| Description
! style="text-align: center;"| Description
! Command
! Command
! Distro
|-
|-
| style="width: 50%;" | Scan a network for connected computers  
| Scan a network for connected computers  
| class="cli" style="width: 50%;" | sudo nmap -sP 129.24.22.0/24
| 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}}
|}
|}