If you’re running Ubuntu Linux on your desktop, you’ll be regularly prompted to update using the built-in update tool. But what if you’re on Ubuntu Server or want to check for and run any pending updates manually? This tutorial covers the steps required to update your… Read More »How to Update Ubuntu Linux [Server and Desktop]
This article explores chmod 777, a Linux command used to give ALL RIGHTS to the user, group, and others. As a new Linux user, web developer, or system administrator, you have probably been instructed to type: chmod 777 /path/to/file/or/folder …into your Linux shell at some point. Whenever you’re running commands… Read More »What Is chmod 777 and What Does It Do in Linux?
It’s important to stay up to date – both for security and compatibility reasons and because it’s always nice to have the latest features in your Linux Operating System. To find out which Linux distribution, and version of that distribution you’re using, use one of the… Read More »How to Quickly Check your Ubuntu Version [Easy]
The for loop is a handy tool when writing Bash scripts for repeating a task for a number of files, records, or other values. The for statement will iterate over a list of values, performing tasks on each one until all items have been processed. Usage cases… Read More »Bash For Loop [With Examples]
If you followed our Magic Mirror tutorial, you’d see the wget command was used to download some files. This tutorial explains how to use wget, a command-line tool for downloading (getting) files from the web, be it via HTTP, HTTPS, FTP, or FTPS. Use it to… Read More »Linux wget Command Guide [With Examples]
dig is the Linux command-line tool used to look up the DNS records for a host. This tutorial explains how to use this command and includes handy examples. DNS records provide information to your computer about a host’s IP address on a network, email configuration, or… Read More »How to Use the Dig Command [With Examples]
This guide explains the differences between apt and apt-get commands, so you can decide which one to use. Historically, you’ve probably installed software on Debian based Linux Operating Systems (like Ubuntu) using the apt-get command. More recently you’ve probably seen the apt command being used… Read More »apt vs apt-get Commands – What’s the Difference?
The shutdown command in Linux shuts down your computer safely. All users and processes will be notified, and processes are given the chance to exit safely. The shutdown command can also reboot and bring the system to other power levels. Syntax shutdown [OPTION]… TIME [MESSAGE] Options Here… Read More »The Linux Shutdown (& Reboot) Command
You can check whether a file or directory exists on a Linux system using the test command. See our examples below to find out how. The test Command Syntax test EXPRESSION The test command will evaluate the EXPRESSION. Expressions can be built using the following operators and can be… Read More »How to Check if a File or Directory Exists in Bash [+ Examples]
Here’s a summary of the options available for connecting to your Raspberry Pi via SSH – from Linux, macOS, and Windows. Networking We’ll assume you have your Pi on your network – wired or wirelessly. Static IP Address vs DHCP Your Raspberry Pi will most… Read More »How to SSH Into Your Raspberry Pi Remotely [Simple Guide]