Blog Archive

Saturday, June 20, 2015

Raspbian Command Line

In my Raspberry Pi projects, I quite often use the command line. This is the most powerful tool in the Linux toolbox. It allows you to manipulate files, write scripts, modify settings, install applications and programs and more. It is pretty much the most direct connection I have to the workings of the computer.
You don't have to be a rocket scientist to move your way around the command line. There are Linux tutorials all over the internet, and if you're using the Raspbian operating system, most of the commands are those of Debian and Ubuntu, which are some of the most widely used versions of Linux. There are also many complete courses online for free if you want to get a bit more in depth with the command line.
I know, it looks daunting- what do all of those codes mean? Don't let it scare you away, help is right around the corner. Almost everything about Linux is just a quick internet search away. You can just copy and paste or write out any codes, scripts or whatever into your search bar, and a trove of information is at your fingertips. If you want to install an app or program just search " install bestprogramever raspbian" and you'll usually get step-by-step instructions. You can quite often just follow a simple tutorial with cut-and-paste code (though you should always be sure of the source before you do). I  also try to understand what it is that the commands mean and how they work.
Relax and get into the command line as much or as little as you want. Make sure, however, that you have a backup of your system in case you make a mess of things, that way, if thing go wrong, it's simply a matter of popping in another Micro-SD card and restarting your system.

Some sites I've found useful:
tutorials:

Raspbian command line via SSL

Welcome!

I've collected a few of the energy efficient, minimalist Raspberry Pi B+ computer boards to learn Linux, computer systems management, coding and for a few household projects. In this blog I'll be talking about these endeavors. Hopefully, you will find some useful information here.

Raspberry Pi model B+ with Pi-Bow wooden case.

The Raspberry Pi is a computer board that uses a very energy efficient and surprisingly powerful processor, similar to what you'd find in a smartphone or tablet. It's "hard drive" is a Micro-SD card, which can be easily swapped out. It has ports for power in (5V), HDMI, 1/4 audio out, 4X USB and Ethernet; internally, it also has I/O ports and a dedicated camera port; unfortunately, it does not have on-board WiFi or Bluetooth, though USB dongles are available. The Raspberry Pi runs on a wide range of Open Source operating systems, many of which are based on Linux. The Raspberry Pi itself is the board only, and you also may need to get at least a 5V power supply (a smartphone power supply might work, check the specs), Micro-SD card (8GB seems to be a good size), case, Ethernet cable, HDMI cable, monitor (TV), keyboard and mouse; most of this stuff can be found lyin around, and a case can be made of cardboard for the true DIY freak. Using a powered USB hub, you can attach an external HDD if you need a large amount of storage (though you always need to have the operating system on the Micro-SD card).

There are 2 basic ways that you can set up your Raspberry Pi: headed or headless. A headed setup has a keyboard, mouse and monitor attached. This allows you to run a graphical desktop and have a direct interface with the computer. On a headless setup, you run the Raspberry Pi without attaching a keyboard, mouse and monitor, instead relying on a remote connection. This type of setup is great for servers of many types.