Tuesday, November 16, 2010

locating commands in linux

which (tracks through $PATH)
alias (shows aliases)
declare -F (shows bash functions)


bash function reminder came from
http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2007-04/msg00957.html

Monday, July 26, 2010

command line vmware

The vmrun command is used to run from the command line.

For running on linux with vmserver 2

vmrun -T server -h https://localhost:8333/sdk -u Username \
-p "PasswordWithSpecialCharsEscaped" list

vmrun -T server -h https://localhost:8333/sdk -u Username \
-p "PasswordWithSpecialCharsEscaped" start "Exact vmware name of vmx"

Exact vmware name of the vmx : "[standard] Name/Name.vmx"
Watch out for extra spaces or other white space.

Thursday, July 15, 2010

solaris 10 fault manager

fmadm is the fault manager - requires root to work

Thursday, June 17, 2010

Java i2c c2i adapters

What is I2CAdapter?

I2CAdapter and C2IAdapters are for traversing between compiled and interpreted java byte code.

Monday, June 7, 2010

windows persistent static routes

route -p add "dest.ip.addr" mask "netmask" "gateway"

-p to make the routing persistent

"dest.ip.addr" - like 172.18.0.0
"netmask" - netmask like 255.255.255.0
"gateway" - like 192.168.244.1

The persistent routes are stored in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes

Thursday, January 14, 2010

virtual pc 2007 sp1 dvd limitations

The dvd drive presented by virtual pc 2007 does not have a drive region. This can result in encrypted dvds not playing correctly in linux. The issue is the dvd decrypting library needs the region code to actually decode the dvd.