today's howtos
-
Listing All the Available Shells in Your Linux System
Bash is the most popular shell implementation program that most modern Linux systems like Debian and Ubuntu ship out of the box, unlike ZSH and Fish.
However, operating systems like Kali Linux and macOS took a step forward by providing ZSH as the default login shell for their systems because of its features and functionality.
Most of the time, Bash and its derivative shells like ZSH and Fish share common syntax and functionality, except for a few things that do not affect regular interactive users.
-
3 Ways to Change User’s Login Shell in Linux
As an informed Linux user, you already know that, in addition to Bash, there are ZSH, KSH, Fish, and other lesser known shells that bring extra features and functionality to the table.
Still, many Linux distributions ship Bash as the default login shell, but they can’t stop you from playing with another shell.
-
How we addressed an unforeseen use case in pthread_atfork() | Red Hat Developer
While the POSIX standards specified by IEEE form the basis of compatibility between various operating systems and the portability of application code, sometimes unforeseen use cases can exercise an implementation in surprising ways and make us think about whether the interface itself could benefit from a more thorough specification.
As a member of Red Hat's Platform Tools team, I recently had the chance to witness and participate in the glibc developer community's encounter with one such situation. As we worked on triaging and fixing what at first glance seemed to be a regression in the implementation of pthread_atfork(), it soon became apparent that the interface might benefit from a more thorough treatment in its specification than it does already.
-
How to remove PPA using Ubuntu GUI Software Updater
Here are the steps to follow to delete the PPA repository from Ubuntu using the GUI of the Software & Updates app.
All the packages to install various software are not available on Ubuntu using the official repo. Hence, other third-party users can use the PPA (Personal Package Archives (PPAs) to distribute their packages easily. However, it is often used to distribute pre-release software so that they can be tested.
Although the package publishers can use the regular way to avail their APT repo, yet, PPA is easy to install for users.
Nevertheless, we can use the terminal to delete the added PPA repository, however, if you are using the GUI desktop of Ubuntu then it is much easy. Here we show you how?
-
How to troubleshoot IPsec VPN misconfigurations | Enable Sysadmin
Debugging IPsec VPN tunnels can be problematic, and this article offers tips to make it easier.
-
How to partition a drive on Linux
Every hard disk, in order to be accessible under Linux, must have at least one partition on it. A partition is a way to logically separate different sections of a disk. For example, a 4 TB hard drive could have four different 1 TB partitions, and all would appear as separate storage systems under the operating system. Alternatively, a hard disk could simply contain a single partition that spans the entire volume. The configuration is entirely up to the user.
Whatever configuration you decide for your hard disk, setting up partitions is one of the most essential and dangerous task to perform when working with operating systems. It is possible to create new partitions, delete partitions, and to shrink or expand existing partitions. In the sections below, we will assume that you need to add a new partition to a hard disk that is either currently unpartitioned or already contains some partitions.
In this tutorial, we will cover the step by step instructions to partition a hard drive or solid state drive on an existing Linux system. We will show the necessary steps for both a brand new disk and one that already has one or more partitions on the disk. You will see the steps for both command line and GUI methods, so you can follow along with set of instructions you are most comfortable with. Let’s get started.
-
How to format disk in Linux
Formatting a disk will get it ready for use as a storage device on your Linux system. The process involves partitioning the disk, adding a file system to the partition (this is the “formatting” part), and then mounting the partition to some path where you plan to access it from. This might sound complex or like a lot of steps, but it really only takes a few minutes.
This process will wipe all the data from your hard disk and get it ready for use under Linux or another system. In this tutorial, we will cover the step by step instructions to format a hard drive or solid state drive on a Linux system. We will show the steps for both command line and GUI methods, so you can follow along with set of instructions you are most comfortable with. Let’s get started.
-
How to check memory size in Linux
If you want to know the memory size of your Linux system, you will be relieved to know that it is not necessary to crack open the PC or boot into the BIOS screen to get your information. Linux allows us to check our memory size, and other relevant information such as spare slots and RAM speed, etc, all from within the operating system. We will go over some of these hardware checking methods below.
In this tutorial, you will learn how to check the physical memory (RAM) size that is installed on your computer. We will go over several command line and GUI methods below, which should work for any Linux distro that you may be using.
-
How to Upgrade to Ubuntu 23.04
The much-anticipated Ubuntu 23.04 code-named “Lunar Lobster” development branch is here. This is an upcoming short-term release available to download or for existing users to upgrade their existing Ubuntu distro for those with test machines and environments that like to work with what’s in store with Ubuntu. For now, while Ubuntu 23.04 is in development, not much can be officially clarified; some features that will most likely be present are Linux Kernel 6.2 and GNOME 44. I will update this closer to the release day, which is scheduled for April 20th, 2023.
-
How To Install OBS Studio on Fedora 37 - idroot
In this tutorial, we will show you how to install OBS Studio on Fedora 37. For those of you who didn’t know, OBS Studio is a free and open-source software for video recording and live streaming. OBS Studio also makes it easier for those new to the world of live streaming as it is designed to be simple to use, and comes with plugins. It is available for Windows, macOS, Linux distributions, and BSD.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the OBS Studio streaming app on a Fedora 37.