Basic Linux Networking Commands. Some essential networking commands every linux user must know
Size: 1.3 MB
Language: en
Added: Mar 12, 2019
Slides: 17 pages
Slide Content
Linux Network Basics Akhil Nadh Pc
Unix Vs Linux LINUX The source code of Linux is freely available to it’s users. Check it out here. Linux is basically the name of the Kernel Linux primarily uses Graphical User Interface with an optional Command Line Interface. Different version of Linux are Ubuntu, Linux Mint, RedHat , Solaris, etc Linux installation is economical and doesn’t require much specific and high end hardware . Linux OS can be installed and executed on almost anything that has a processor
Unix Vs Linux UNIX The source code of Unix is not available for the general public Unix is not portable. Unix has a rigid environment of the hardware. Hence, cannot be installed on every other machine. Unix is mainly used in Server Systems, Mainframes and High End Computers.
ifconfig This command is used to display IP Address, Hardware and MAC address. It is also used configure network interfaces. You can use it to activate or deactivate interfaces, assign an IP Address to the interface.
ifdown ifdown eth0 Will bring eth0 up if it is currently down.
Nslookup nslookup is a network administration command-line tool available for many computer operating systems for querying the Domain Name System to obtain domain name or IP address mapping or for any other specific DNS record.
Host Command to find name to IP or IP to name in IPv4 or IPv6 and also query DNS records. Give it a domain name and you’ll see the associated IP address. Give it an IP address and you’ll see the associated domain name.
PING ( Packet Internet Groper ) PING command sends packet requests to the address you specify to test the connectivity between 2 nodes
Tracepath Tracepath traces the path of the network to the destination you have provided. It attempts to list the series of hosts through which your packets travel on their way to a given destination. It can be very handy when trying to determine the points of slowness in your connection path . Traceroute in UNIX
Netstat Netstat command displays different information including open sockets and routeing tables. Run netstat command alone to see a list of open sockets. Netstat has a ton of opitons .
Netstat Add the option -r to display information on the routeing table.
Netstat Info netstat Help netstat
tcpdump Tcpdump captures packets off a network interface and interprets them for you. It can be used to save entire packets for later inspection.
Nmap Nmap servename Look for vulnerable port and activities
Kali Linux Kali Linux is a Debian -derived Linux distribution designed for digital forensics and penetration testing . https:// www.kali.org /downloads/