Learning the command line
I posted this shell tutorial from Linux Command on Twitter earlier today. It’s had so many retweets and favourites that I thought it deserved a spot here as well for those of you who are new to Linux and want to get to grips with the command line in preparation for your Raspberry Pi.
Let us know how you get on!
It’s interesting you’ve started to post these things.. I wonder. If I do something cool that might be fun to beginners, will it be posted too?
Depends how cool it is! (And what I consider cool is *entirely* subjective.) :P
Is there a public photo of the bcm2835 die available? (wafer is fine, too)
How many actual children have an actual Raspberry Pi? From all the internet activity I can see your order books must be mostly geeks looking for a cheapo linux media machine.
Surely if the aim is promoting IT to children it’s essential that children should be top of the order books, rather than geeks?
A surprisingly large number, considering that this initial release has been aimed at developers, and is meant to prepare the software stack for the kids’ release later in the year. (How do we know? They email us, as do their parents; and they come up out of the blue and talk to us at events.)
Hey! almost every one of my friends (as well as me) have either a Raspberry pi a Beaglebone Black, or a homemade Linux computer. And they are all under 14.
William H. Bell
In case it might prove useful, there is an introduction to BASH programming at
Looks like a great resource thanks for the link.
WoW Liz, you are into Linux too ? I thought besides RPi you love only cooking :D (and sometime vacationing :) )
Never underestimate the Liz ;)
Gosh, you got me. I am, in fact, uniquely unqualified to write anything at all here (let alone daily blog posts), because the only things I know how to do are WOMANSTUFF like cooking and frolicking in a bikini. Occasionally I do the two together, but the risk of getting hot fat on my naked midriff is just too much to bear sometimes.
What I meant is I’ve read only about RPi from you on this site & your blog just talked about food. (Also, I have some idea that you like StarTrek)
Your Linux interest came as pleasant surprise :D
Yes. It’s a food blog. I also have a ton of other interests which I do not share with the internet. It’s *crazy* round here, I tell you.
He did say ‘love’, not ‘can’ ….
Received my pi yesterday….. now were did i put the double cream.
One question though is should [sudo] reboot (or reboot -f, shutdown “now” etc) actually reboot the PI. It closes all the windows and all the leds go off BUT the unit does not restart. I am using Debian “squeeze” image from 19th of April.
I have to pull the power (USB keyboard and HDMI leads) for a min of 5miniutes before the unit will restart. I have tried several power supplies (and a bench supply), 3 different keymoards and 2 HDMI monitors and one TV, and several different SD cards but regardless of the equipment I need the 5min power down for it to restart?
Gert van Loo
Min restarts after a second or two. Also I never have to unplug the HDMI lead. In fact it should be impossible to feed the Pi from the HDMI lead as there is a diode which prevents that. Did you post in the ‘Trouble shooting’ forum?
I definatly need the hdmi leed unplugged! I just did a retest, leaving it for 10 min and reconecting the power, no reboot!
If anyone is waiting for their Pi and would like to pracatice some shell commands, there is a minimal shell enviroment you can play with here.
A surprising amount works, but be aware that this is not a complete shell and set of tools.
Hi liz i need help because i ordered my pi 2 weeks a go but afta 1 day i cancelled my order because i orderd the wrong equipment nd i still havent got my new activation code plz
Nice one, added to the Puppy wiki ; -)
there’s a couple more ‘online consoles’ for those who can’t wait:-
Top tip for the command line: make sure you know what the command does before typing it :) After all, you don’t want to blindly type something like
sudo rm -rf /*
without knowing what (devastating!) effect it’s likely to have… :)
For the uninitiated:
sudo – run as root
rm – remove (i.e. delete)
-rf – recursively (i.e. in this folder and all subfolders) and with force (i.e. don’t ask for confirmation)
/* – everything in (and below) the root folder (i.e. / – the folder that contains /boot, /sbin, /usr, /home etc.)
So you’re looking at a command which will attempt to delete everything from your SD card and render your system unusable. It’s a bit like the old DOS command deltree /y c:\*.*
Liz edit – I’m pulling Reiuyi’s whole response here and replacing it with this.
Reiuyi – you should know better! You are a valued and regular visitor here, and usually your posts add to the conversation (if this wasn’t the case, I’d have banned you already for this) But even in jest, trying to get someone to format their machine isn’t funny; there are plenty of casual browsers around here who don’t read carefully and who might take you seriously. Don’t do ANYTHING like this again, or I will ban you so fast you won’t believe it.
Kids, the message is; don’t joke around too much and add to the conversation!
Thanks for understanding – I realise you were just kidding, it’s just that occasionally a sense of humour isn’t something that people read into posts like the one you left!
Thanks for the link! I also liked on the home page, there’s a picture of the terminal waiting for input, and the headline, “Now What?” directly beneath it. :-)
I am sorry that this post is unrelated to the article above however I was not sure where to put it.
Where is the Fedora Remix download and why does it not appear on the downloads page anymore? Fedora was going to be my operating system of choice and I would like to keep it that way; Now I am stuck with an Okayish Debian. Not Happy :(
The final release was too buggy for us to be able to recommend wholeheartedly – there’s a new one in the works from the team in Canada which should have fewer problems.
Alec The Geek
New Linux users probably need to skim through the Linux File System Standard as well (http://www.pathname.com/fhs/pub/fhs-2.3.html)