Tar command and using
Creating a tar archive: tar -czvf archive.tar.gz filename
Extracting a tar archive: tar -xzvf archive.tar.gz
Commands
c - Create a new archive.
z - Compress the archive with gzip.
v - Verbose mode (optional, shows the progress)
f - Specify the file name
ZIP commands and using.
zip filename.zip filename.txt
unzip filename.zip filename.txt
set password for zip file?
zip filename filename.txt
End________________________________________________________________________
Networking_________________________________________________________________
1. Checking Network Interfaces
ifconfig - Displays information about network interfaces.
ip a or ip address - Shows details about network interfaces.
2. Network Configuration
ip link set <interface> up/down - Activates or deactivates a network interface.
ip addr add <address>/prefix dev <interface> - Adds an IP address to an interface.
ip addr del <address>/prefix dev <interface> - Removes an IP address from an interface.
3. Testing Connectivity
ping <hostname/ip> - Checks connectivity to a host.
traceroute <hostname/ip> - Traces the route packets take to a host.
tracepath <hostname/ip> - Similar to traceroute, but simpler.
4. Network Scanning
nmap <target> - Scans ports and services on a network.
netdiscover - A network discovery tool for identifying live hosts.
5. Packet Analysis
tcpdump -i <interface> - Captures and displays network packets.
wireshark - A GUI tool for analyzing network traffic (requires installation).
6. DNS Lookup
nslookup <domain> - Queries DNS records for a domain.
dig <domain> - Provides detailed DNS information.
7. Network Routing
route - Displays or modifies the IP routing table.
ip route - Shows or manipulates the IP routing table.
8. Network Services
service <service> start|stop|restart - Manages network services (e.g., service networking restart).
systemctl <service> start|stop|restart - Modern system management for services.
9. Wireless Networking
iwconfig - Configures wireless network interfaces.
airmon-ng - A tool for managing wireless interfaces in monitor mode.
airodump-ng <interface> - Captures wireless packets.
10. Miscellaneous
netstat - Displays network connections and listening ports.
ss - Provides similar functionality to netstat but with more details.
These commands and tools provide a good foundation for working with networks on Kali Linux. As you get more
comfortable, you can explore advanced networking topics and tools specific to your needs.