How to check a service is running or not

ps -ef | grep nfs(service name)

how to change network card in vm

before add this line delete old netadapter from vmx file

ethernet0.virtualDev = "vmxnet"
ethernet0.features = "15"

Copy files from one hypervisor to another hypervisor

scp source filename destinatin path
Ex:scp /home/learnadmin/pr.vmx root@192.168.1.61:/home/learnadmin2/la2
then it will ask destination's root password

Clone VM from console command

vmkfs -i 10008_28d0.vmdk /vnfs/volumes/datastore1/10008_29d0.vmdk

Copying files betweent two remote meachines , different ssh consoles, using SCP command

scp filename targetssh username@ipadd:target path


ex: scp 2003.iso root@192.168.1.61:/vmfs/volums/datastore1/iso

Set java path on Ubuntu meachine

open Vi /etc/bash.bashrc


and then append the following lines


export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin