Linux networking commands

Submitted by code_admin on Mon, 07/30/2018 - 13:13
  1. ifconfig
  2. iwconfig
  3. ip a

Make wlan card a master

  1. sudo iwconfig wlan1 mode master

nmap

  1. sudo apt-get install nmap

Scan network using command:

  1. nmap -sP 192.168.1.190/24

Use the IP address of the local machine.

Listening ports

  1. sudo netstat -tulpn

Tags

RJM Article Type
Quick Reference