today's howtos
-
How to use the date Command - Pi My Life Up
You can use the date command to view the current date and time on your Linux system. The command allows you to format the output, view the last modified date on files, set the date and time, and more. It is an incredibly useful command which I highly recommend taking the time to learn.
There are many ways you can utilize this command, but you will likely need it when creating bash scripts that require the current date and time. You can also set the time using the command, but it is unlikely you will ever need to use this functionality.
This tutorial will take you through the syntax, options, and several examples of how you can use the date command.
-
How to fix "Briefly unavailable for scheduled maintenance" error on WordPress?
If you have a WordPress site, you will know that sometimes some unwanted errors occur that can give us a headache. So, the error in question is “Briefly unavailable for scheduled maintenance” on WordPress. Let’s take a look at it.
-
How to Install PowerShell on Ubuntu 22.04 | 20.04 [Ed: Microsoft traps like these should be replaced by Bash or similar]
Utilizing PowerShell, developers and IT professionals can unlock the power of automation. An open-source CLI tool with code lets users streamline their tasks and quickly configure settings. The following tutorial will teach you how to install PowerShell on Ubuntu 22.04 LTS Jammy Jellyfish or Ubuntu 20.04 Focal Fossa LTS. The tutorial will use the command line terminal with complete steps to install the official repository and tips on updating and removing the software securely and adequately.
-
How to Find your Mac Address on Ubuntu - Pi My Life Up
A mac address is a unique identifier used by your Ubuntu systems network interfaces to identify itself on your network.
For example, if you have a Wi-Fi network controller and an ethernet one, they will have different mac addresses.
Network routers often use a mac address to identify your device within the network. It allows the router, for example, to assign your Ubuntu device a static IP address.
Please note that you can spoof a mac address, so it isn’t a flawless way of tracking or identifying a device within a network. For example, iPhones by default will fake a mac address for different Wi-Fi networks to improve privacy.
Over the following sections we will show you how to find the mac address on Ubuntu using either the terminal or desktop interface. Both methods are very straightforward to use even if you aren’t the most confident with Ubuntu.
-
How to Check Disk Space on Ubuntu - Pi My Life Up
There are a couple of ways that you can check the disk space on the Ubuntu operating system that we will be exploring.
If you are running a version of Ubuntu that has a graphical interface, this process is made very simple by two inbuilt applications. These applications allow you to get the free disk space of every filesystem in just a few clicks.
There is even a built-in tool to quickly see what files are consuming the disk space on your Ubuntu system.
Regarding the terminal side of things, we can utilize a handy built-in tool that goes by the name “df“. While not as versatile as the desktop tools, it allows you to quickly get the disk space usage of your filesystems.
Hopefully, by the end of the following two sections, you will be able to check the disk space usage of your Ubuntu filesystems quickly.
-
How to Add a Repository on Ubuntu - Pi My Life Up
A repository is where your Ubuntu system will download and install packages from whenever you use the apt package manager.
While Ubuntu provides numerous packages through its official repositories, it may not include all the packages you need. There is also a chance the packages included are older than what that software is releasing itself.
Luckily the apt package manager that Ubuntu relies on allows you to add your repositories to download packages from.
In the following sections, we will show how you can manually add a package repository to your Ubuntu system and add a PPA repository.