SlideShare a Scribd company logo
Linux Network commands
My Connection
Network Configuration..
Linux Network commands
$ smbtree
Think about it for a second !!!!



       Why single physical interface
       should be limited to single IP
                address??
ifconfig eth0 <ip> netmask 10.248.255.0 up
 sudo route add default gw 10.1.1.2
Test Connection..




user@computer-name:~$ ping www.google.com
PING www.l.google.com (66.102.13.106) 56(84) bytes of data.
DNS Tools..
host:used to map names to IP add.




$ host www.google.com
 www.google.com is an alias for www.l.google.com.
 www.l.google.com has address 66.102.13.104
nslookup




nslookup 66.102.13.103
$ whois   66.102.13.103
How many hops until some destination?




   $ traceroute www.amazoon.com
Netstat :
List listening sockets ,
   associated port#
      and process.

      netstat -l -p -n
      netstat --tcp
      netstat --udp
      netstat -i
      netstat -s
ethtool:
What driver is responsible for
 certain network interface




    $ ethtool -i <interface>


   $ ethtool <interface>
finger: to contact the necessary
server and retrieve info. about user.




      finger Email || username
Arp - Route

List ARP table (MAC-IP)


       $ arp


Show routing information

    $ route -v
Security Tools
FireWall..




sudo ufw enable
         disable
Nmap:




sudo nmap 192.168.1.1-255
     nmap localhost
Netcat : The network Swiss
        army knife




 $ nc -v -w1 localhost -z From-ToPort
tcpdump : a packet sniffer




                  $ tcpdump -i eth0
$ tcpdump -w file -i eth0   Capture packets > file


 $ tcpdump -tttt -r file    Read sniffing data



  $ tcpdump -n -i eth0      Capture packets with IPs



 $ tcpdump -i eth0 arp      packets of protocol type


$ tcpdump -i eth0 port 22
                            from particular port
Browsers from Terminal!!



  lynx www.google.com




 lynx www.facebook.com
wget www.google.com
Talk (MultiUser)



     talk

      wall

     write
Telnet vs SSH
Linux Network commands
Telnet
 sudo apt-get install telnetd

 $ ufw allow 23

 $ telnet localhost




Just try to ping it.. then telnet it
SSH
  Secure Shell, a network protocol for remote
      administration of Unix computers


$ sudo apt-get install openssh-server

$ ufw allow 22
$ nmap localhost

$ ssh user@pc-name
PuTTY

An open source telnet and SSH Client
for Windows ..
Send messages between 2
      Ubuntu PCs

ssh <user name>@<ip address>

export DISPLAY=:0.0
notify-send "Title” "message text"
References:
1.http://www.alexonlinux.com/useful-linux-networking-commands
        2.http://www.alexonlinux.com/tcpdump-for-dummies
3.http://www.karakas-online.de/gnu-linux-tools-summary/network
                           -commands.html
     4.http://www.linuxplanet.com/linuxplanet/tutorials/7044/1/
  5.http://aalagha.com/blog/2008/01/22/netcat-swiss-army-knife
            6.http://www.dd-wrt.com/wiki/index.php/SSH
7.http://www.slideshare.net/tmavroidis/linuxnetworkingcommands
                         8. http://sectools.org/
9.http://askubuntu.com/questions/31582/send-messages-between
                     -2-ubuntu-pcs-net-send-style
       10.http://ubuntuforums.org/showthread.php?t=100198
    11.http://linux.about.com/od/commands/l/blcmdl1_talk.htm
     12.http://forum.codecall.net/linux-networking/index3.html

More Related Content

PPT
Linux Networking Commands
tmavroidis
 
PPTX
Linux networking commands
Sayed Ahmed
 
PPTX
Network configuration
engshemachi
 
PDF
Linux network tools (Maarten Blomme)
Avansa Mid- en Zuidwest
 
PPTX
Networking in linux
Varnnit Jain
 
PPTX
Linux networking
Arie Bregman
 
PDF
50 most frequently used unix linux commands (with examples)
Rodrigo Maia
 
PDF
Linux network configuration
Mario Tabuada Mussio
 
Linux Networking Commands
tmavroidis
 
Linux networking commands
Sayed Ahmed
 
Network configuration
engshemachi
 
Linux network tools (Maarten Blomme)
Avansa Mid- en Zuidwest
 
Networking in linux
Varnnit Jain
 
Linux networking
Arie Bregman
 
50 most frequently used unix linux commands (with examples)
Rodrigo Maia
 
Linux network configuration
Mario Tabuada Mussio
 

What's hot (20)

PDF
linux-commandline-magic-Joomla-World-Conference-2014
Peter Martin
 
PPT
Linux commands
Hemakumar.S
 
PPTX
Linux command for beginners
SuKyeong Jang
 
PDF
Top 10 Random Linux/Ubuntu Commands
Yusuf Felly
 
RTF
Useful linux-commands
Himani Singh
 
DOCX
BASIC COMMANDS OF LINUX
Mr.AKHILESH KUMAR {Computer Lab Technician}
 
PPT
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
DOCX
Linux final exam
Andrew Ibrahim
 
PDF
Linux Command Line Basics
We Ihaveapc
 
PPT
Linux
Ankush Jain
 
PDF
Basic linux commands
Raghav Arora
 
PPTX
Linux And perl
Sagar Kumar
 
PDF
Linux class 8 tar
Khawar Nehal [email protected]
 
PDF
Linux Commands - Cheat Sheet
Isham Rashik
 
PPTX
Licão 06 process text streams with filters
Acácio Oliveira
 
PDF
Unix Command Line Productivity Tips
Keith Bennett
 
PDF
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
PPTX
Unix slideshare
Mohan Krishna Kona
 
PPTX
Linux powerpoint
bijanshr
 
PDF
Useful Linux and Unix commands handbook
Wave Digitech
 
linux-commandline-magic-Joomla-World-Conference-2014
Peter Martin
 
Linux commands
Hemakumar.S
 
Linux command for beginners
SuKyeong Jang
 
Top 10 Random Linux/Ubuntu Commands
Yusuf Felly
 
Useful linux-commands
Himani Singh
 
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
Linux final exam
Andrew Ibrahim
 
Linux Command Line Basics
We Ihaveapc
 
Basic linux commands
Raghav Arora
 
Linux And perl
Sagar Kumar
 
Linux Commands - Cheat Sheet
Isham Rashik
 
Licão 06 process text streams with filters
Acácio Oliveira
 
Unix Command Line Productivity Tips
Keith Bennett
 
Quick Guide with Linux Command Line
Anuchit Chalothorn
 
Unix slideshare
Mohan Krishna Kona
 
Linux powerpoint
bijanshr
 
Useful Linux and Unix commands handbook
Wave Digitech
 
Ad

Viewers also liked (20)

ODP
Instalación ftp, telnet y ssh sobre linux
Ger Hernandez
 
PDF
Manejo de-redes-linux
Martin Figueredo
 
PDF
Servidor ftp linux final
mtijerino78
 
PPS
Transferencia de archivos FTP
ingdianabaquero
 
PDF
Manual de configuracion de redes
mmri
 
PDF
Configuracion del servidor vsftpd en linux
Carlos Antonio Leal Saballos
 
PDF
Introducción a Servidor HTTP Apache
Iker Canarias
 
PDF
Servicios DHCP, DNS y TELNET
Óscar Humberto Díaz Jurado
 
PDF
Servicio HTTP en Ubuntu (Apache)
Sergio Santos
 
PDF
Apache: instalación y configuración en Ubuntu Server y Windows Server
Nombre Apellidos
 
DOC
Configuracion servidor web, dns, ftp, pop3 y smtp txt para linux
Mohamed Diop
 
PPT
Configuracion de red en Ubuntu Linux
Fabian Ortiz
 
PDF
Act. n°5 (dhcp, dns, http, ftp & ssh)
Priscilla Yepes Correa
 
PDF
Tutorial de Instalación de Sistema y Servicios de Red en Lenny Debian 5
Black Moral Яesistance
 
PDF
Instalación y configuración Servidor FTP y SSH
Francisco José Cruz Jiménez
 
PDF
Servicio FTP en Ubuntu
Sergio Santos
 
DOCX
Ubuntu. configurar tarjeta de red mediante lineas de comando
Rpc Docucentro Cuevas
 
PDF
Instalación y configuración de servidor ftp en ubuntu server 14
Luis Carlos Silva Dias
 
PDF
Servicios de Red e Internet
Sergio Santos
 
PPTX
Servidores de red
rubenrosgrr01278
 
Instalación ftp, telnet y ssh sobre linux
Ger Hernandez
 
Manejo de-redes-linux
Martin Figueredo
 
Servidor ftp linux final
mtijerino78
 
Transferencia de archivos FTP
ingdianabaquero
 
Manual de configuracion de redes
mmri
 
Configuracion del servidor vsftpd en linux
Carlos Antonio Leal Saballos
 
Introducción a Servidor HTTP Apache
Iker Canarias
 
Servicios DHCP, DNS y TELNET
Óscar Humberto Díaz Jurado
 
Servicio HTTP en Ubuntu (Apache)
Sergio Santos
 
Apache: instalación y configuración en Ubuntu Server y Windows Server
Nombre Apellidos
 
Configuracion servidor web, dns, ftp, pop3 y smtp txt para linux
Mohamed Diop
 
Configuracion de red en Ubuntu Linux
Fabian Ortiz
 
Act. n°5 (dhcp, dns, http, ftp & ssh)
Priscilla Yepes Correa
 
Tutorial de Instalación de Sistema y Servicios de Red en Lenny Debian 5
Black Moral Яesistance
 
Instalación y configuración Servidor FTP y SSH
Francisco José Cruz Jiménez
 
Servicio FTP en Ubuntu
Sergio Santos
 
Ubuntu. configurar tarjeta de red mediante lineas de comando
Rpc Docucentro Cuevas
 
Instalación y configuración de servidor ftp en ubuntu server 14
Luis Carlos Silva Dias
 
Servicios de Red e Internet
Sergio Santos
 
Servidores de red
rubenrosgrr01278
 
Ad

Similar to Linux Network commands (20)

PDF
Ngrep commands
Rishu Seth
 
PDF
Linux Networking Explained
Thomas Graf
 
PDF
Tutorial of SF-TAP Flow Abstractor
Yuuki Takano
 
PPTX
Tcpdump
Sourav Roy
 
PDF
Network commands
Dr. Mahadev Gawas
 
PPT
13048671.ppt
LyVu51
 
PPTX
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
PDF
OpenVPN
Emil CHERICHEȘ
 
PDF
Simplest-Ownage-Human-Observed… - Routers
Logicaltrust pl
 
PDF
Filip palian mateuszkocielski. simplest ownage human observed… routers
Yury Chemerkin
 
PDF
TCP/IP Exercises
Felipe Suarez
 
PDF
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
faker1842002
 
PDF
Octo talk : docker multi-host networking
Hervé Leclerc
 
PDF
Linux internet server security and configuration tutorial
annik147
 
PDF
Velocity 2011 - Our first DDoS attack
Cosimo Streppone
 
PDF
SDNDS.TW Mininet
NCTU
 
PDF
The New Systems Performance
Brendan Gregg
 
PPTX
LOS Micro project ppt.pptx
ThorOdinson55
 
ODP
Networking in Gnu/Linux
Ahmed Mekkawy
 
Ngrep commands
Rishu Seth
 
Linux Networking Explained
Thomas Graf
 
Tutorial of SF-TAP Flow Abstractor
Yuuki Takano
 
Tcpdump
Sourav Roy
 
Network commands
Dr. Mahadev Gawas
 
13048671.ppt
LyVu51
 
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
Simplest-Ownage-Human-Observed… - Routers
Logicaltrust pl
 
Filip palian mateuszkocielski. simplest ownage human observed… routers
Yury Chemerkin
 
TCP/IP Exercises
Felipe Suarez
 
Pentesting111111 Cheat Sheet_OSCP_2023.pdf
faker1842002
 
Octo talk : docker multi-host networking
Hervé Leclerc
 
Linux internet server security and configuration tutorial
annik147
 
Velocity 2011 - Our first DDoS attack
Cosimo Streppone
 
SDNDS.TW Mininet
NCTU
 
The New Systems Performance
Brendan Gregg
 
LOS Micro project ppt.pptx
ThorOdinson55
 
Networking in Gnu/Linux
Ahmed Mekkawy
 

Recently uploaded (20)

PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Mithil Fal Desai
 
PDF
Sunset Boulevard Student Revision Booklet
jpinnuck
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PDF
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
Sandeep Swamy
 
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PDF
Landforms and landscapes data surprise preview
jpinnuck
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PDF
Introducing Procurement and Supply L2M1.pdf
labyankof
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
DOCX
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
PPTX
Understanding operators in c language.pptx
auteharshil95
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PPTX
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Mithil Fal Desai
 
Sunset Boulevard Student Revision Booklet
jpinnuck
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
5.Universal-Franchise-and-Indias-Electoral-System.pdfppt/pdf/8th class social...
Sandeep Swamy
 
Open Quiz Monsoon Mind Game Prelims.pptx
Sourav Kr Podder
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
Landforms and landscapes data surprise preview
jpinnuck
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Introducing Procurement and Supply L2M1.pdf
labyankof
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
UPPER GASTRO INTESTINAL DISORDER.docx
BANDITA PATRA
 
NOI Hackathon - Summer Edition - GreenThumber.pptx
MartinaBurlando1
 
Understanding operators in c language.pptx
auteharshil95
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
Nursing Management of Patients with Disorders of Ear, Nose, and Throat (ENT) ...
RAKESH SAJJAN
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 

Linux Network commands