Month: September 2013

Run multiple commands at one go in Netapp

To run multiple commands in Netapp use semicolon between each commands.
Usage example:
“df -ag;df -vg; vol status -f;”

Using this cheat we can run multiple commands at one go and saves time…

Port Forwarding in Windows

If you are running a webserver in VM within windows and want to host it by masking its real IP. Then the solution would be to do port forwarding.
Below command works on Windows XP and later.

netsh interface portproxy add v4tov4 listenport=80 listenaddress= connectport=80 connectaddress=

Windows Host:
Guest VM:

forwarding port 80 [http] requests from windows host to guest VM. similarly we can do this with other ports as well.