Wednesday, 22 August 2012

LINUX NETWORKING COMMANDS ON BACKTRACK 5 LINUX NETWORKING COMMANDS


BACKTRACK 5 

Commands 
  1. PING COMMAND 
  2. ARP COMMAND 
  3. IFCONFIG COMMAND 
  4. PS COMMAND 
  5. NETSTAT COMMAND 
  6. ROUTE COMMAND 
  7. NSLOOKUP COMMAND 
  8. DIG COMMAND 
  9. TRACEROUTE COMMAND 


PING COMMAND
  • Ping command is used to test the IP  connectivity.
  • Syntax : Ping < ipaddress/domain name >
  • Example 1 : ping www.hackingdna.com
  • Example 2 : ping 209.85.175.121
  • See the below image for more details - 

EXAMPLE 1 : 

Ping Command

EXAMPLE 2 : 


ARP COMMAND 
  • Arp stands for Address Resolution Protocol 
  • Arp is used to  .find the MAC address of network neighbour for a given IPv4 Address.
  • Arp with no specifier will print the current content of the table .
  • Syntax : arp [ option ] 
  • Example : arp 
  • See the below image for more details - 
EXAMPLE "
Arp with no specifier 

IFCONFIG COMMAND 
  • Ifconfig command is used to view the network  configuration .
  • See the below image for more details - 

PS COMMAND 
  • Used to see all active processes.
  • Example : ps 



  NETSTAT COMMAND 



ROUTE 
  • Show / manipulate the ip routing table .
  • See below image for more details - 



NSLOOKUP COMMAND
  • NSlookup is a pogram to query internet domain name servers .
  • It can resolves name to IP addresses.
  • See the below image for more details - 


DIG COMMAND 
  • dig stand for domain information groper .
  • dig - is a DNS lookup utility . 
  • dig is a flexible tool for interrogating DNS name servers.
  • It performs DNS lookups  and  displays  the  answers that are returned from the name servers that were queried. 
  • Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. 
  • Other lookup tools tend to have less functionality than dig.
  • See the below image for Example - 
dig command


TRACEROUTE COMMAND 
  • This command traces the path to a destination .
  • See the below image for more details -
Trace route command

  • This  is how we can use these LINUX NETWORKING COMMANDS on Backtrack 5  Linux 
  • If you have some query , drop here . 
  • You can also join Us on facebook 
  • OR
  • MORE INFORMATION  http://www.hackingdna.com/

No comments:

Post a Comment