Archive for November, 2008

Documentation Look at several files in different subdirectories.

0 Comments

I found this to be a good way to look at many files with the same name in different subdirectories in linux.

find . -name filename.txt -exec less {} \;

Documentation To manage a VMware virtual server from the command line.

1 Comment

This works in VMware server 1.0.x for linux.

Check status (up or down):
vmware-cmd /pathtoyourvmxfile/vmxfile.vmx getstate

Start virtual server:
vmware-cmd /pathtoyourvmxfile/vmxfile.vmx start

Shutdown virtual server:
vmware-cmd /pathtoyourvmxfile/vmxfile.vmx stop

Documentation Windows – modify users profile – ntuser.dat.

0 Comments

You need to make sure the user is logged out before doing this.

1) Run regedit
2) Go to HKEY_USERS
3) Load Hive # navigate to the ntuser.dat you want to load.
4) Make changes.
5) Unload Hive