Skip to navigation

Archive for the 'Noobs' Category

Getting information about your Linux system

Friday, August 31st, 2007

To see which kernel version you are running: uname -r To see which version of Ubuntu you are running: lsb_release -a To get information about installed hardware: lspci To see whether the kernel detected plugging in of an external device: dmesg | tail

R: Combine two matrices column by column

Monday, July 9th, 2007

I have two matrices. I want to combine these, alternatingly picking the next column from a and from b. > a a [,1] [,2] [,3] [1,] 1 2 3 [2,] 1 2 3 [3,] 1 2 3 [4,] 1 2 3 > b b [,1] [,2] [,3] [1,] 4 5 6 [2,] 4 5 6 […]

Installing Google Earth on Linux (Xubuntu 6.06)

Friday, June 1st, 2007

Google Earth is finally available for Linux — nice. Here’s how to install: wget You’ll see the download progress. When it’s finished, make it executable and run it: chmod 744 GoogleEarthLinux.bin ./GoogleEarthLinux.bin This asks you to agree to the License Agreement, then to confirm the installation directory. I changed this to /home/mpromber/bin/, and then […]

Remote backups using ssh and rsync

Sunday, March 18th, 2007

Here’s a mini tutorial on how to do fast backups of important files to a remote server. This involves three steps: Getting ssh access to a remote machine, setting up keypair authentication, backing up data with rsync. Requirements: rsync and ssh server on the remote machine, rsync and ssh client on the local machine.