Bash Change Directory (cd) Methods, Tips and Tricks

Bash Change Directory (cd) Methods, Tips and Tricks

Changing directories in a terminal may have become a thing of the past for mainstream users. However, if you do any level of system administration work, testing work, Big Data Manipulation or similar, you will soon find yourself using the Change Directory (cd) command at the Bash or Linux terminal prompt more and more.

In this tutorial you will learn:

  • Simple terminal Change Directory (cd) command usage
  • Additional methods, tips and tricks for making a richer cd experience
  • Examples highlighting the use of the various cd commands
Bash Change Directory (cd) Methods, Tips and Tricks

Bash Change Directory (cd) Methods, Tips and Tricks

Read more

Checking disk usage by folder on Linux

How to check disk usage by folder on Linux

When it comes to tidying up your hard drive on Linux, either to free up space or to become more organized, it’s helpful to identify which folders are consuming the most storage space.

In this guide, we’ll show you how to check disk usage by folder on Linux, through both command line and GUI methods.

In this tutorial you will learn:

  • How to check disk usage with du command examples
  • How to check disk usage with Disk Usage Analyzer GUI utility
Checking disk usage by folder on Linux

Checking disk usage by folder on Linux

Read more

Obtaining CPU information on Linux

How to obtain CPU information on Linux

If you’ve forgotten some information about your CPU, there’s no need to dig out the box or open the case to figure out the make, model, and other information about it. Information about your CPU is stored in Linux, at the operating system level. This means it’s perfectly accessible for normal users, we just have to know where to look.

In this guide, we’ll see how to obtain CPU information on Linux, from both command line and GUI. On a related note, check out our guide on how to check and monitor CPU utilization if you want to measure the performance of your CPU.

In this tutorial you will learn:

  • How to obtain CPU information from command line and GUI
Obtaining CPU information on Linux

Obtaining CPU information on Linux

Read more

Removing a user from a group on Linux

How to remove user from a group on Linux

Managing user accounts on a Linux system is a fundamental part of administration. Even casual Linux users will run into situations where they need to list user accounts, remove users, and do other basic user management tasks.

In this guide, we’ll see how to remove a user from a group on Linux. This can be done either through GUI or command line, and we’ll go over the step by step instructions for both methods.

In this tutorial you will learn:

  • How to remove a user account from a group through GUI and command line
Removing a user from a group on Linux

Removing a user from a group on Linux

Read more

How to move a folder on Linux

How to move folder on Linux

Moving a folder (also called directory) on Linux is a common task that every user will have to perform frequently. This can be done via any desktop environment that you have installed, or from command line with the mv command.

While this is a pretty basic function, there are some important caveats to keep in mind. In this guide, we’ll go over several examples of moving a folder on Linux. Feel free to follow along on your own system in order to master the mv command and GUI process.

In this tutorial you will learn:

  • How to move a directory via GUI
  • How to move a directory via command line
How to move a folder on Linux

How to move a folder on Linux

Read more

Restarting network in AlmaLinux

How to restart network on AlmaLinux

Restarting the network of your AlmaLinux system can be a useful troubleshooting step, for example if you’re having problems connecting to the internet.

In this guide, we’ll show several methods for restarting the network on AlmaLinux, both from command line and GUI. You can apply these steps if you’ve recently migrated from CentOS to AlmaLinux or have performed a fresh AlmaLinux installation.

In this tutorial you will learn:

  • How to restart the network in AlmaLinux via command line, through both NetworkManager and networkd
  • How to restart the network in AlmaLinux through GNOME GUI
Restarting network in AlmaLinux

Restarting network in AlmaLinux

Read more

Change IP address in AlmaLinux

How to change IP Address on AlmaLinux

These days, most systems are configured to connect to a network automatically through DHCP by obtaining an IP address assigned through your ISP or your home router. But there may come a time when you wish to opt for a static IP address and you will want to change it. It may be that you are configuring a home LAN and you don’t want to use DHCP or simply want a static IP address that you can access from outside your home.

In this tutorial, we will learn how we can change the IP address on an AlmaLinux system. You can follow this guide whether you’ve migrated from CentOS to AlmaLinux or have performed a normal AlmaLinux installation.

In this tutorial you will learn:

  • How to change the IP address in AlmaLinux using GNOME GUI
  • How to change the IP address by editing configuration files
  • How to manually change your DNS server
  • How to restart networking in AlmaLinux
Change IP address in AlmaLinux

Change IP address in AlmaLinux

Read more

How to check AlmaLinux version

Check AlmaLinux Version

The objective of this guide is to show how to check what version of AlmaLinux a system is running. Whether you’ve migrated from CentOS to AlmaLinux or performed a fresh install, it’s important to keep tabs on the state of your system. This includes information such as the version number of the operating system, kernel version, and other release information.

AlmaLinux is a fork of Red Hat Enterprise Linux, which releases a new major version every few years. Finding your system’s version will inform you whether or not you’ve fallen behind on the latest updates. It’s always recommended to update AlmaLinux for the latest security patches and features.

In this tutorial you will learn:

  • How to check AlmaLinux version from command line and GUI
  • How to check Linux kernel version
How to check AlmaLinux version

How to check AlmaLinux version

Read more

How to check disk space with df and du on Linux

How to check disk space with df and du on Linux

Df and du are two very useful utilities which are normally installed by default in all Linux distributions. We can use the first one to obtain an overview of the used and available space on mounted filesystems; the second, instead, is very useful to obtain a detailed report about the space used by files and directories. In this article we take a look at their usage, and we see what are the most common used options which can be used to modify their behavior.

In this tutorial you will learn:

  • How the df utility works
  • How to show the output of df in human-readable form
  • How to include the filesystem type in the output of df
  • How to include or exclude filesystems from the output of df
  • How the du utility works
  • How to obtain a human-friendly output with du
  • How to obtain a summary of the used space
  • How to exclude files from the output of du
  • How to obtain a “grand total” of the space in use by multiple directories

Read more

uptime command on Linux

How to use uptime command on Linux

The purpose of this guide is to go over the uptime command on Linux. It’s a rather simple command that will only take you a minute or two to master, but it will come in handy more than you might expect.

Follow along with us below as we show various examples of uptime and the options you can use with the command. We’ll also see why the command can be useful.

In this tutorial you will learn:

  • What is the uptime command used for?
  • How to use uptime command with examples
uptime command on Linux

uptime command on Linux

Read more

Installing curl on Ubuntu

How to install Curl on Ubuntu

The cURL Linux command can use various network protocols to download and upload data on a Linux system. It’s a tool that proves handy for downloading files, in which it functions similarly to wget, as well as debugging, performing downloads with authentication, uploading via FTP, and more.

In this guide, we’ll show you how to install the cURL utility on Ubuntu Linux. After it’s installed, you can use it to download files on the command line or perform a slew of other functions.

In this tutorial you will learn:

  • How to install curl on Ubuntu
Installing curl on Ubuntu

Installing curl on Ubuntu

Read more

LFTP tutorial on Linux with examples

LFTP tutorial on Linux with examples

There is certainly no shortage of ftp client on Linux: some come with a graphical user interface such as Filezilla, others are command line applications which can be used even when display servers, such as Xorg or Wayland are not available. In this article we talk about one of the most used and feature-rich CLI ftp client: lftp.

In this tutorial you will learn:

  • How to install lftp on the most used Linux distributions
  • How to connect and authenticate to a remote host
  • How to create, remove, edit and list bookmarks
  • Some of the most used lftp commands
  • How to run commands non-interactively
  • How to download torrent files with lftp

Read more