Ubuntu list users

In this tutorial, we’ll guide you through different ways to list users in Linux. Being able to list users in Linux primarily serves the purpose of helping you improve how to manage your administration system and create better security between users. Before we dive in, let’s take a look at the importance behind viewing a …

Read more

Untar tar.gz

A tar file which is also referred to as a tarball, is a collection of files that provides easier storage. We can use the tar command to create archives along with extract files, list files, storage purposes, or update purposes. Using a tar.gz file is useful because it provides a better storage solution rather than …

Read more

Scp command

The scp command is a command-line utility primarily used to securely copy directories or files between two hosts or locations. Before we dive into scp commands and how to use them, we’ll go over the basic syntax behind the scp command and a few pointers to take note of. Pointers to Take Note of Before …

Read more

How to Install Linux screen

Have you experienced working on a remote machine, only for your connection to suddenly drop, thus resulting in unsaved work and a fully terminated Secure Shell (SSH)? Are you about to create a new window, but worry about what might happen with the progress you’ve made on the previous session? Thankfully, ‘screen’ is here to …

Read more

Changing the color of the BASH shell prompt

It’s possible to change the contents and color of the BASH shell prompt. My SSH sessions use a white background and I find the default [chris@localhost ~] style a little boring. I also find it useful to have the prompt green for ordinary user sessions, and red for root sessions so it’s easy to see …

Read more

Add the RPMForge custom repository to CentOS

The RPMForge custom repository has a lot of useful software applications for CentOS and Red Hat Enterprise Linux which aren’t included in the default repositories. This post looks at how to enable it. First of all go to http://dag.wieers.com/rpm/packages/rpmforge-release/ to work out which package you need to install. It has RPM packages for Red Hat …

Read more