NetworkingCommand

NetworkingCommand



ifconfig
 shows configuration a network interface.

 ifconfig
 for check your local ip,mac, or display the current network interface information

  ifconfig eth0
  used to view the network settings on the interface eth0

  ifconfig -a
  display the configuration of all interfaces,both active and inactive

  whois [host]
  Get basic information of Domain

  telnet [ip address] [port]
  telnet connection

  curl ifconfig.me
  shows your public ip > first install it .apt install curl

  dig [ip address]
  DNS lookup

  wget file
  Download File first install package

  ping [host]
  to ping host ip and shows results

  arp
  check network card & show IP Adress.

  host
  Display specific server

  netstat
  Review Network connection & open sockets

  netstat -L or Lsof - i
  List open Sockets

  nslookup [host]
  use to find out DNS related query

  tracerout [host]
  Display number of hops & response time to get to a remote system or web site.

  system-config-network
  To configure network settings and you will get nice Graphical User interface(GUI)

  scp
  copies file, over a source

  sslscan [host]
  to scan all ssl vulnerability of website

  dhclient -r
  release ip and display a new one from DHCP

  lsof -i
  List open sockets

  clear
  clear the terminal

  reset
  reset the terminal

  history
  list of recent commands

  pwd
  It shows your current working directory

  ps
  it shows the running process on machine

  ls
  used to print the directory files

  uname -m
  it shows your device architecture

  cal
  display calender

  curl ifconfig.me
  to display your public ip address

  exit
  exit from terminal

  ifconfig
  network interface and local ip addresss

  cat file
  to diplay a file

  cd [directory]
  go to directory

  apt install [packageName]
  To install any package

  kill [pid]
  kill process with id

  nano [file]
  edit file with nano text editor

  chmod 771 [fileName]
  set file permission

  cd ..
  change to parent directory

#Crd


0 Comments:

Post a Comment