Bash Brackets

Handy guide to bash brackets, swiped from Stackoverflow. Brackets if [ CONDITION ] Test construct if [[ CONDITION ]] Extended test construct Array[1]=element1 Array initialization [a-z] Range of characters within a Regular Expression Curly Brackets ${variable} Parameter substitution ${!variable} Indirect variable reference { command1; command2; . . . commandN; } Block of code {string1,string2,string3,…} Brace […]

Miscallaneous Wibble

This post is part of a short series of tutorials for people who are new to using their Raspberry Pi.  It will make more sense if you start at the beginning. Continued from here. First page here 12.  Some other useful bits and bobs Firstly, let me say that Linux is a huge subject and […]

A streaming pile of Pi

Continued from here. First page here. 11. Setting up your uPNP media server A uPNP media server allows you to stream videos from your Pi to any device that can talk to it.  A lot of tellies do this these days, along with PS3s, XBoxs, iPads, tablets and your PC.  With a server on your […]

Memory sticks and torrents

Continued from here. First page here. 9. Thanks for the memories For this chapter you’ll need a memory stick or a pre-formatted external hard drive with a USB connection.  As we are going to be putting videos on it, the larger the better.  Got one?  Good.  Stuff it up your Pi’s USB port.  There should […]

Torrents of Pi

Continued from here First page here 8.  Installing a Bittorrent Client I don’t know about you, but I want to install a Bittorrent client on your Pi, and I’ll tell you why.  If your PC uses a wireless router and you use Bittorrent, you will probably find that the Bittorrent traffic over your network utterly […]

Keeping it up to date (given up with the Pi puns)

Continuing from here First page here 7.  Updating your system We’ve just got a spot of housekeeping to do before installing some stuff to turn your pi into something useful.  We are going to do a system update to make sure we are running the latest version of everything.  And I mean everything.  The update […]

Another pi pun

Continued from here First page here. 6.  Creating a user Now you are starting to get to know your Pi, you’ll want to start making it feel more like home.  Unless your name is “Pi” you will want to add yourself as a user.  Type this: adduser naich Do I really need to explain that […]

Appendixes

These are appendixes from the set of posts about setting up and using a Raspberry Pi. Appendix A: Selecting an IP Address As part of the boot process, your Pi used DHCP to get an IP address from the router. The problem with this is that it is an automated process which is invisible to […]

Pi Eyed

Continued from here. Your Pi is now sitting in the corner of the room, blinking its lights at you and presumably working.  Shall we see if we can do something with it? 3.  Setting up the interweb Your Pi is working and sitting on the network, waiting for you.  But where is it?  You need […]

Yummy Pi – what to do with a Raspberry Pi

So you’ve got your Raspberry Pi and it’s sitting there, staring at you PCB-ily while you are wondering why you ordered it in the first place.  If you don’t know what to do with your Raspberry Pi, don’t bother plugging it into your TV, booting it up and clicking despondently at a few things before […]