Use the route command to set a list all network routes on your machine. To set a default gateway: route add default gw 10.0.0.1 eth0
[ Read More → ]
Use the route command to set a list all network routes on your machine. To set a default gateway: route add default gw 10.0.0.1 eth0
[ Read More → ]Both these scripts do the same thing, they strip a log file down to the filename and then move each file up a directory. … C:\Random\Directory\n\chars\long\filename.xml … BASH cat 15\ August\ 2011\ Less.log | cut -c 113-152 > fileNames for i in `cat fileNames`; do mv -v “$i” ../$i; done WINDOWS gc ‘.\15 August 2011 [...]
[ Read More → ]I wanted to install some software on to an OS which was installed on a USB flash drive, so I created a virtual machine that booted up of the USB drive. I found it needed root permissions, and it is probably a good idea to un-mount the device before hand. VBoxManage internalcommands createrawvmdk -filename ./HardDisks/USB-test.vmdk [...]
[ Read More → ]