Linux Commands (From Emails)

A quick one that has been coming up a lot via email. This is for those just learning Linux and trying out the Raspberry Pi.


How do I rename a folder or file in Linux from the command line?


The command ‘mv’ can move files and folders, this includes changing their names.


How do I change directory from the Linux shell?

Same as in DOS/Windows, use the ‘cd’ command. Linux also allow ‘..’ to go back a directory and ‘~’ to return home.


How do I know what folder I am in?

The command ‘pwd’ command is your friend. It stands for ‘Print Working Directory’.


Why doesn’t ‘LS’ or ‘DIR’ work?

Commands in Linux (*nix) are case sensitive, try lower case. You can also use ‘ll’ which also lists aliases.

Linux – now for hardcore Windows users

That’s right, you read it correctly.
Actually, its a headline I noticed popping up at the moment.
It seems that a few tech sites have just realised you can use the live CD part of Linux to make repairs to  Windows.

I have been carrying a live disk in my bag of tricks for about ten years now. I have removed thousands of forgotten Windows passwords, backed up thousands of terabytes of data, check many a hard disk and RAM.
Not only that but some viruses can screw up the partitions of a disk which can prevent recover from Windows media. Well Linux booted and the partitions where removed and the drive cleaned.

Point is, if your not already carrying this magic tool. Get yourself over to Ubuntu’s website or a derivative and grab yourself a live disk.
Its free and can save millions of hours in time.

My first ever Android game

I have just released my first ever Android game. It takes the now missed Flappy Birds run style game and recreates it with a fish.

I originally wasn’t going to release the game for public use, but a number of friends wanted it and it seemed the easiest way to manage the updates.

I am planning to add Google Game integration for leader boards in the future and increasing level of difficulty.

You can get it here free:

Let me know what you think and I will continue to improve the game and add my own original spins.

Scrambled Eggs – A Short Story

I have just released the first of many stories have have written. I have never shared these with anyone and I have only ever done it for my own amusement.

I can’t say I am very good at writing, but I am happy to share with anyone who wants to read it.

The story is about a woman named Jane and her want to leave life. The ways she thinks about going and the final end.


Mono.Data.Sqlite for .NET 4.0/4.5


Me again.. I have been working on a few projects of late that require a .net application to work both on Windows and Linux. I found to my surprise that Mono has a bug under Windows that causes the following error when ran under .net 4.0/4.5.

Unhandled Exception: System.TypeLoadException: Inheritance security rules
violated by type: 'Mono.Data.Sqlite.SqliteConnectionHandle'. Derived types must
either match the security accessibility of the base type or be less accessible.
   at Mono.Data.Sqlite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum
flags, Int32 maxPoolSize, Boolean usePool)
   at Mono.Data.Sqlite.SqliteConnection.Open()

Anyway long story short, if you are trying to use Sqlite3 and the Mono.Data.Sqlite.dll, you may want to download this altered version with the bug fix included.

I have not done anything fancy, just downloaded the Mono source and recompiled the Mono.Data.Sqlite.dll with the correct assembly attributes to run under .net 4.0/4.5.

This is nothing new and is a known bug, but I thought I would share since I was not able to find a recompiled version online with the fix included.