There is a super-easy way to start a program during system boot. Just put this in your crontab:
@reboot /path/to/my/program
The command will be executed on every (re)boot. Crontab can be modified by running:
sudo crontab -e
Got a shell script that you want automatically run at bootup on Ubuntu Server Edition? Here’s how:
Create a script in the /etc/init.d/ directory
Make the script executable
$ sudo chmod +x /etc/init.d/myscript.sh
Make the script start at bootup
$ sudo update-rc.d myscript.sh defaults
Note: the option “defaults” puts a link to start your script in runlevels 2, 3, 4 and [...]
Found a nice vi/vim cheatsheet, for all you Linux developers out there.
Tonight I had need access a remote server through the excellent Fog Creek Copilot service. Copilot supports Windows 2000 and later and Mac OS X, and I’m not running Windows anymore…
But that wasn’t a problem, because the Copilot helper executable runs just dandy under Wine.
So far so good on my experimental switch to Ubuntu Linux from Windows XP.
I’m running 64-bit linux because my laptop’s Intel CPU supports it. However, many but not all programs available for linux are available in 64-bit versions. Last few days I’ve needed to install a few programs that don’t have 64-bit versions available, namely, [...]
My two-year-old HP laptop is getting slower and slower. Time for an XP re-install, but that’s a big ordeal. I opted to give Linux another try (maybe the third time will be the charm).
I installed and configured Eclipse, but it was running super-slow. A quick Google search revealed a simple trick:
The eclipse launcher resides at
/bin/eclipse
yet [...]