Digital Black Hole /dev/null

anything sent to /dev/null will be eaten like a digital black hole ONLY try this on test VM if you want to destroy !  do not cut and paste on live or production systems – use at your own risk. For testing purposes only – DESTRUCTIVE COMMAND! mv / /dev/null

SolusVM – OPenVZ containers

Kill an OpenVZ Container – e.g id 900 vzctl stop 900 Use –fast switch to kill the OpenVZ Container – crude non graceful vzctl stop 900 –fast Kill processes inside a OpenVZ Container ps ax | awk ‘{print $1}’ | xargs vzpid | grep 900 | awk ‘{print $1}’ | xargs kill -9 Commonly used […]

ESXi Firewall Commands – ESXi Shell

You can configure the ESXi firewall at the command line. Firewall Configuration Using the ESXi Shell The vSphere Web Client graphical user interface provides the preferred means of performing many configuration tasks. However, you can use the ESXi Shell to configure ESXi at the command line. Firewall Commands Command Description esxcli network firewall get Returns […]

How to re-register cloned System on Red Hat Network Portal?

SOLUTION VERIFIED – Updated March 17 2014 at 9:56 PM – English Environment Red Hat Enterprise Linux v 6.3 RHN Classsic (Red Hat Network Classic) Certificate Based Registration (Red Hat Subscription Management) Issue How to re-register cloned System on Red Hat Network Portal? Resolution If cloned system is registered using RHN classic, then following steps […]

NMAP – scan for unused or down IP’s

nmap -v sn -n 192.168.3.0/23 -oG – | awk ‘/Status: Down/{print $2}’ -sn (No port scan) . This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that responded to the scan. This is often known as a “ping scan”, but you can also request […]

Categories