Home » Linux

Setting a Static IP Address on a Raspberry Pi [With Screenshots]

Setting a Static IP Address on a Raspberry Pi

If you followed our article on how to SSH to your Raspberry Pi so that you can control it over a network, you might be tired of having to run the commands to find out what its current IP address is on your network. Most networks assign IP addresses dynamically, which means each device on the network is assigned an IP address from a pool of available IP addresses. The address for a specific device may change over time if it is rebooted or the address is automatically … Read more

Home » Linux

Raspberry Pi & Python Powered Tank

pi python powered tank

The title pretty much explains this project- it’s a tank, that can shoot BBs – powered by a Raspberry Pi and Python Code. It’s pretty awesome. This is part one of a two-parter and handles all of the hardware and wiring and a Python script for test firing the engines. Click here to see Part 2 of this project where I get a live video stream and buttons to control the tank into a web UI! As with my other projects, I’ll try to keep things simple … Read more

Home » Linux

Checking for Available Disk Space on Ubuntu [Guide]

check disk space in ubuntu

This simple guide explains how to check how much disk space is available in Ubuntu Linux. The df command tells you how much space is being used on each storage volume attached to your Linux system. To run it, simply execute the following command in your terminal: df Which outputs: Easy! But, it’s a bit difficult to read at a glance – the -h option makes everything human-readable: df -h Which outputs: However, there’s a lot of junk in there- we can ignore the /dev/loop* entries by omitting filesystems of the squashfs type: df … Read more

Home » Linux

The Bash Profile and How to Use It

Bash Profile 1

If you’re frequently interacting with Linux via the Bash shell, you’ll eventually want to customize it a bit – perhaps adding your own shortcuts, or setting up the environment to your liking, or even just adding some decorative personalization. This is what the Bash profile is for. It’s stored in your home directory and can be edited to set things up just the way you want each time you log in. Editing your Bash Profile To edit your bash profile, open it with the nano text editor … Read more

Home » Linux

Find Command in Linux [With Useful Examples]

Find Command in Linux

The find command in the Linux shell allows you to search for files in the filesystem. It can find files by name, user permissions, and size. The find command can also perform actions on the files which are found. Find Command Syntax The syntax for the find command is as follows: find [OPTIONS] [PATH] [EXPRESSION] Where: [OPTIONS] are options from the below table to determine the find behavior [PATH] is the starting point for the search [EXPRESSION] defines the tests to find matching files and any action that should be taken … Read more

Home » Linux

How to Use The awk Command in Linux [With Examples]

awk command linux

This guide shows you how to use the awk command in Linux, with plenty of useful everyday examples. AWK is a tool and language for searching and manipulating text available for the Linux Operating System. The awk command and the associated scripting language search files for text defined by a pattern and perform a specific action on the text which matches the pattern. awk is a useful tool for extracting data and building reports from large text files or large numbers of text files – for example processing logs, or … Read more

Home » Linux

How to Install Webmin on Ubuntu 20.04

How to Install Webmin on Ubuntu

Webmin is a system configuration tool that can be run on Linux. This step-by-step tutorial explains how to install Webmin on Ubuntu 20.04. Webmin makes it easy for newbies (and veterans) to monitor and manage their Linux system and the services running on it in a graphical, browser-based interface that can be accessed locally or remotely. It’s a great tool for people getting started to manage users, web server configurations, file servers, and more. Webmin includes a bunch of modules for common software like Apache … Read more

Home » Linux

Don’t Install Yaourt on Arch Linux – use Yay instead!

install yay on arch

Yaourt (Yet AnOther User Repository Tool) is (was) a package manager for the Arch Linux distribution, which allowed for the installation of packages from the Arch User Repository (AUR). Don’t install Yaourt; it’s obsolete software. If you need a package manager for Arch Linux, install and use Yay instead! Yay is a package manager for Arch, which lets you install AUR packages. Why Yay? It’s actively developed and easy to install and use. Installing To install Yay for Arch Linux, run the following commands: sudo pacman -Syy sudo pacman -S –needed git base-devel git … Read more

Home » Linux

Zsh Vs Bash – Which to Use?

Zsh Vs Bash

Bash and Zsh are two popular Linux shells. This guide explores their pros and cons to help you determine which is best to use. What is a Shell? A shell is the command-line user interface you use to interact with your computer. It provides the text input and output that allows you to provide instructions to and receive information from your computer system. The shell also encompasses other utilities, like scripting for task automation and ease-of-use tools like autocomplete to make navigating the filesystem faster. Bash and Zsh are both … Read more

Home » Linux

How to Extract .tar.gz Files Using the tar Command in Linux

How to Extract .tar.gz Files

This guide explains how to use the tar command in Linux to extract files archived in the .tar.gz format. Many open-source packages for Linux are supplied for download in the .tar.gz archive format. .tar.gz archives behave much like .zip archives you might be more familiar with in that they contain and compress multiple files into a single archive file. The .tar.gz archive looks a bit different from other files – it appears to have two file extensions. This is because it’s the combination of two processes. tar (Tape ARchive) is a format for … Read more