I was always a little hesitant to play with the Find command. The Man page alone is 40 pages long. :)
find -mtime +360 -name *.zip -exec rm {} \;
This will find all files over 360 days old and delete them
Friday, 13 April 2012
Thursday, 12 April 2012
unable to connect to vmware host in vCenter
VMWARE
When you can't connect to your host anymore in vCenter, but the host replys to ping, and your VMs are runing fine...Here is what you do:- Ssh to the host
- Become root
- Type:
service mgmt-vmware restart If the command hangs, in another console window,establish another connection to the host. Again su to root and run:- ps -ef | grep vmware-hostd
- Now kill -9 that PID
- Return to the original terminal and the command should complete successfully.
Tuesday, 20 March 2012
A great IDE... Sublime text 2
Just came across this IDE, Sublime Text 2. Before this I have been using gVim for windows. OMG this one is incredible.. Text completion included. :)
Subscribe to:
Posts (Atom)