Home » Linux

How to Convert a USB Printer to Wireless with a Raspberry Pi

Raspberry Pi Wireless Printer

This tutorial will show you how to turn a USB printer into a wireless, AirPrint enabled printer using a Raspberry Pi. The shared printer will be accessible from Windows, Mac and of course, Linux devices. Printers are one of the few bits of tech that haven’t really changed much in the last few decades. The only real change has been that they are increasingly locked down, they are expensive to re-fill, detecting generic cartridges and refusing to print unless an expensive name-brand cartridge is purchased. … Read more

Home » Linux

How to Use a Raspberry Pi for Digital Signage

Raspberry Pi Digital Signage

This tutorial will show you how to set up your Raspberry Pi with info-beamer and a TV to use as digital signage for your shop, office, school… or anywhere really. Digital signage is super useful. You may want to display advertisements in your shop window, timetables in your office, bulletins in school hallways – really, for anywhere you would hang a poster or noticeboard, a digital sign makes a cool replacement that is highly visible and can be easily updated. Lets get to it. Setting Up the … Read more

Home » Linux

How to Share a Printer using AirPrint with a Raspberry Pi

Raspberry Pi AirPrint Server

This tutorial will show you how to share your USB printer with iPhones and iPads using AirPrint from a Raspberry Pi. AirPrint is Apple’s printer sharing technology and is required to print from iOS devices like iPhones and iPads, and can also be used to print from laptops and desktops running MacOS. AirPrint is usually only available as a baked-in feature for consumer printers or by sharing a printer that has been plugged into a mac. However, it’s possible to set up an AirPrint server … Read more

Home » Linux

The Worst Things You’ll Probably Google As a Programmer on Linux

The Worst Things You'll Probably Google As a Programmer on Linux

Programming terminology isn’t always well thought out. Language changes, or the people building out languages don’t consider the full implications of what a function or program or program name may look like when taken out of context – especially when combined with other technical terms. This leads to some pretty awful sounding phrases that you’ll have to search up online when learning how to code, or reminding yourself of the syntax for a command. Here are the worst 25, summarized from this Reddit thread. The Worst … Read more

Home » Linux

How to Build a Raspberry Pi Internet Kiosk

Raspberry Pi Internet Kiosk

This tutorial will show you how to build an internet kiosk using a Raspberry Pi and FullPageOS. It can also be used as digital signage! Internet kiosks are useful when you want to allow your customers or visitors to be able to use the internet – to browse a catalogue or access services – but want to limit them to the web browser only, and make sure that they can only use the websites you deem necessary (or appropriate). FullPageOS provides this functionality for free … Read more

Home » Linux

LibreNMS: What is it and how does it work?

LibreNMS gUIDE

This article covers the LibreNMS network monitoring tool, from installation and configuration to features and usage. Introduction to LibreNMS LibreNMS is a powerful open-source network monitoring solution that can be used to monitor devices and services on your network. It offers a wide range of features, including support for a variety of protocols, performance monitoring, alerts, and more. LibreNMS is easy to install and configure, and it can be used on a variety of platforms. In this guide, we will cover the basics of LibreNMS, … Read more

Home » Linux

Bash Split String (+ Shell Scripts)

Bash Split String

This article will show you how to split a string at a given delimiter in Bash/Shell scripts and show some examples. Splitting strings is a handy function to have available when crafting your scripts. CSV (Comma Separated Values) is a common format in which data is made available online, where data fields in a table are separated by (surprise) commas. You may also simply be looking to split a sentence into words at the spaces, or split paragraphs into sentences at the period, and so … Read more

Home » Linux

Use wc to Count the Characters/Words/Lines [Linux/Bash]

Bash wc command count words

The wc program can be used in Bash scripts and from the Linux command line to count the number of bytes, characters, words, or lines in a file. Here’s how to use it, with examples. wc Program Syntax The syntax for the wc command is as follows: wc OPTIONS FILE Note that: OPTIONS should be provided from the below table of available options FILE is the path to the file which will have the contents counted More than one file can be specified If more than one file is specified, the total … Read more

Home » Linux

How to Use the Bash echo Command, With Examples

How to use the echo command in Bash

The Bash echo command serves a simple purpose – it outputs (echos) text. Here’s how to use it, with examples. echo Command Syntax The echo command is very simple and has the following syntax: echo OPTIONS TEXT Note that: OPTIONS should be one of the following options -n Do not output a trailing newline -e Enable interpretation of backslash escapes This means that escape characters can be used to insert special characters into the output \\ backslash \a alert (BEL) \b backspace \c produce no further output \e escape \f form feed \n new line \r carriage return \t horizontal tab \v vertical … Read more

Home » Linux

How to Use while Loops in Bash/Shell Scripts [Examples]

Bash while Loops

This article will show you how to use while loops in Bash/Shell scripts, and provides some code examples. Bash scripts let you automate tasks in the linux shell. Often, you’ll want to repeat a task for a set of data or repeated user input – that’s what while loops are for – they let you loop or iterate over a sequence of data or input, making it easy to build scripts that repeat a set of actions. The while loop syntax demonstrated below will also work for the Zsh shell and … Read more