Custom Search

Saturday, August 31, 2013

How to VMware vSphere Change Memory CPU Hot-Plug Settings


Goto VM  --> Edit Settings --> Advanced --> Options --> Memory/CPU HotPlugin

Subversion SVN how to create a changelist

#svn cl name_of_my_changelist file-1 file-2 file-3 file-4 file-5
 
or
 
#svn changelist name_of_my_changelist file-1 file-2 file-3 file-4 file-5
 

Subversion SVN how to commit a changelist

#svn commit -m "commit message" --cl name_of_my_changelist

Subversion SVN how to take diff of changelist

#svn diff --cl name_of_my_changelist > ~/Desktop/output_file.diff

Thursday, August 22, 2013

Subversion SVN how to remove existing changelist


#svn changelist --remove --recursive --cl name_of_my_changelist .
 
* Don’t miss the . at the end of the command

Wednesday, August 21, 2013

How to do sparse file copy between two servers using ssh-agent

Working Command
============
1)
#ssh-agent $SHELL

2)
#ssh-add ~/.ssh/id_rsa

3)
#ssh -A root@192.168.1.24 "cd /var/cache/disks && ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.1.45 'cd /mnt/share && tar -czSf - myfile.txt' | tar -xzf -"

4)
Note : Location of Single and double quote are very important.

5)
http://docstore.mik.ua/orelly/networking_2ndEd/ssh/ch02_05.htm