$ VBoxManage list vms
$ nohup VBoxHeadless –startvm 'Windows' -p 3389
$ VBoxManage controlvm 'Windows' poweroff
$ VBoxManage list vms
$ nohup VBoxHeadless –startvm 'Windows' -p 3389
$ VBoxManage controlvm 'Windows' poweroff
$ gzip -dc ../initrd.img | cpio -i -d -H newc --no-absolute-filenames
$ find . -print | cpio -o -H newc | gzip -9 > ../initrd.img
BATTERY_DEVICE=$(hal-find-by-property --key info.category --string battery | head -n 1)
if test -z "${BATTERY_DEVICE}" ; then
BATTERY=0
else
BATTERY=$(hal-get-property --udi ${BATTERY_DEVICE} --key battery.charge_level.percentage)
fi
echo " ${BATTERY}% "
cd /usr/src
wget http://www.tux.org/pub/x/ftp.hungry.com/chrpath/chrpath-0.13.tar.gz
tar -zxvf chrpath-0.13.tar.gz
cd chrpath-0.13
./configure && make
cd /opt
ln -s VirtualBox V
cd VirtualBox/
/usr/src/chrpath-0.13/chrpath -r /opt/V *.so
netsh wlan set hostednetwork mode=allow ssid=MEUSSID key=MINHAKEY
netsh wlan start hostednetwork
netsh wlan show hostednetwork
echo $X | egrep '^[0-9]+$' >/dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo "Postive integer here...."
else
echo "Something else...."
fi
$ /usr/bin/convmv --notest -f iso88591 -t utf8 -r "$DIR"
$ /usr/bin/convmv --notest -f utf8 -t iso88591 -r "$DIR"
$ removepkg /var/log/packages/system-config-printer-1.2.2-i486-1
$ removepkg /var/log/packages/hplip-3.10.2-i486-2
$ sh /etc/rc.d/rc.cups stop
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
$ make
$ ./getweb P1005
$ make install
$ make install-hotplug
$ sh /etc/rc.d/rc.udev force-reload
$ udevadm info -a -p /sys/block/sdb/ | grep model
KERNEL=="sd*[0-9]", ATTRS{model}=="DataTraveler 2.0", OPTIONS="all_partitions", SYMLINK+="kingston%n", GROUP="disk", MODE="0660"
sh /etc/rc.d/rc.udev force-reload
$ history -c
$ history -d N