Category Archives: Raspberry Pi

CLI – dd

serveimage

CLI – If you are wanting to copy a file from one place to another then you may want to look at the dd command. This command is particulary useful when you want to copy the file while making edits to it on the fly.

The command is also useful when copying a disk image to other media. This can be very useful in creating a bootable SD card for a Raspberry Pi. The Wikipedia page on the dd command gives a good overview of how the command can be used.

The description of dd in the macOS man page is:

The dd utility copies the standard input to the standard output.  Input data is read and written in 512-byte blocks.  If input reads are short, input from multiple reads are aggregated to form the output block.  When finished, dd displays the number of complete and partial input and output blocks and truncated input records to the standard error output.

To learn a lot more about how to use dd, take a look at “Linux dd command explained for beginners (8 examples)“. Yes, this is a Linux article, but the dd command as implemented on macOS is fundamentally the same. Check the macOS man page for dd for all of the available options.


See my other CLI and macOS articles


 

Advertisements

Download a Free Raspberry Pi Cheat Sheet

serveimage

Raspberry Pi – I came across this quick start beginner’s cheat sheet for the Raspberry Pi from Opensource.com. This isn’t an exhaustive set of information but is intended to get you going with your first Raspberry Pi.

If you want more information about your Pi, you might want to look at the “OFFICIAL RASPBERRY PI BEGINNER’S GUIDE“.

Official Raspberry Pi Beginner’s Guide

BeginnersGuideLinux – I recently saw that the Raspberry Pi Press has just released its official “Raspberry Pi Beginner’s Guide”. This 244-page book is intended to get the reader started with their Raspberry Pi. As they say:

From setting up your Raspberry Pi on day 1 to taking your first steps into writing coding, digital making, and computing, The Official Raspberry Beginner’s Guide is great for users from age 7 to 107!

You can order a hard copy of the book through the Raspberry Pi Press store (£10.00) with free international delivery. If you are willing to settle for an electronic copy, you can download the PDF for free. I have downloaded the PDF and look forward to reading it on my iPad.

Just in case you have been living in a cave somewhere, the Raspberry Pi is:

a small, clever, British-built computer that’s packed with potential. Made using the same technology you find in a smartphone, the Raspberry Pi is designed to help you learn to code, discover how computers work, and build your own amazing things.

One of the great things about the Raspberry Pi is that they are very inexpensive. If you search Amazon, you will find various kits and versions of the Raspberry Pi starting from $27. They are also available in Fry’s Electronic Stores if you are lucky enough to have one of those close by.

The book and the hardware would be a great Christmas present for the clever kid (of any age) in your family.