HacksLinux SysAdmin Notes
How to send GET and HEAD requests to a web-server using telnet to check HTTP header and to get a web-page's content.
How to disable and removed from the routing table the ZEROCONF (169.254.0.0/16) route.
Nmap command usage examples : how to find active hosts in network, scan for open ports, remotely determine OS and detect versions of services, detect and bypass firewalls, perform stealthy scans and much more.
Iptables is a built in firewall in most Linux distributions.
Sometimes it is required to stop iptables for troubleshooting the network related problems.
In this article you'll learn how to check the current status of the iptables firewall, and how to disable or enable it in CentOS, RHEL (Red Hat Enterprise Linux), Fedora and similar distributions.
Searching for Linux command that can list all IP addresses of devices connected to the network?
Use nmap or ping commands to determine alive hosts in your local network.
The best way to rename a network interface is through udev.
Edit the file /etc/udev/rules.d/70-persistent-net.rules to change the interface name of a network device.
To use a Proxy on the Linux command line, you can set the environment variables http_proxy, https_proxy or ftp_proxy, depending on the traffic type.
These variables are used by almost all Linux command line utilities such as ftp, wget, curl, ssh, apt-get, yum and others.
Copyright © 2011-2015 Shell Hacks - Linux Howtos and Tutorials