0% found this document useful (0 votes)
33 views1 page

Week 9

Uploaded by

rakesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

Week 9

Uploaded by

rakesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1. ifconfig Usage: scp file.

txt
Installation: telnet example.com 80 user@remote:/path/to/destination
sudo apt update 7. ssh (Secure Shell) 16. rsync (Sync files)
sudo apt install net-tools Installation: Installation:
Usage: sudo apt install openssh-client sudo apt install rsync
• Show all network Usage: Usage:
interfaces: • Connect to remote server: rsync -av source/
ifconfig ssh destination/
• Show specific interface user@remote-server 17. sftp (Secure FTP)
(e.g., eth0): 8. sendmail (Send email) Usage:
ifconfig eth0 Installation: sftp user@remote
• Assign IP address: sudo apt install sendmail 18. netstat (Network statistics)
sudo ifconfig eth0 Installation:
192.168.1.100 Usage: sudo apt install net-tools
netmask echo "Test Email" | Usage:
255.255.255.0 sendmail user@example.com netstat -tulnp
2. iwconfig (For wireless 19. ping (Test connectivity)
interfaces) 9. mailstats (Check mail queue Usage:
Installation: stats) ping google.com
sudo apt install wireless-tools Installation: 20. traceroute (Trace network
Usage: sudo apt install sendmail path)
• Display wireless interface Usage: Installation:
details: mailstats sudo apt install traceroute
iwconfig 10. w (Show logged-in users) Usage:
• Set ESSID: Usage: traceroute google.com
sudo iwconfig w 21. iftop (Live network
wlan0 essid "MyNetwork" 11. cURL (Transfer data from monitoring)
3. ethtool (Check Ethernet URLs) Installation:
settings) Installation: sudo apt install iftop
Installation: sudo apt install curl Usage:
sudo apt install ethtool Usage: sudo iftop
Usage: • Download webpage: 22. nload (Network bandwidth
• Get interface details: curl http://example.com usage)
ethtool eth0 • Save file: Installation:
• Check link status: curl -O sudo apt install nload
ethtool eth0 | http://example.com/file.zip Usage:
grep "Link detected" 12. wget (Download files) nload
4. arpwatch (Monitor ARP Installation: 23. ss (Socket statistics)
traffic) sudo apt install wget Usage:
Installation: Usage: ss -tulnp
sudo apt install arpwatch wget http://example.com/file.zip 24. tcpdump (Packet capture)
Usage: 13. ftp (File Transfer Protocol) Installation:
• Run arpwatch for a Installation: sudo apt install tcpdump
specific interface: sudo apt install ftp Usage:
sudo arpwatch -i Usage: sudo tcpdump -i eth0
eth0 ftp example.com 25. dstat (System performance
5. bmon (Monitor network 14. rcp (Remote file copy) monitoring)
bandwidth) Usage: Installation:
Installation: rcp file.txt sudo apt install dstat
sudo apt install bmon user@remote:/path/to/destination Usage:
Usage: 15. scp (Secure Copy) dstat
bmon Installation:
6. telnet (Remote login) sudo apt install openssh-client
Installation: Usage:
sudo apt install telnet

You might also like