CentOS / RHEL / Scientific Linux 6/5 Enable and Install EPEL Repo

To enable and install the EPEL (Extra Packages for Enterprise Linux) repository on CentOS/RHEL/Scientific Linux 6/5, you can follow these steps: Download the EPEL repository RPM file: wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm Replace “6” with “5” in the URL if you are using Scientific Linux 5. Install the EPEL repository RPM file: sudo rpm -Uvh epel-release-latest-6.noarch.rpm Verify the … Read more

Linux / Unix: whoami Command Examples

The whoami command in Linux and Unix is used to display the name of the current user. Here are some common examples of how to use the whoami command: Display the name of the current user: whoami This will display the name of the current user. Here are some examples of using the whoami command: … Read more

Linux / Unix: groups Command Examples

The groups command in Linux and Unix is used to display the groups that a user belongs to. Here are some common examples of how to use the groups command: Display the groups that the current user belongs to: groups This will display the groups that the current user belongs to, separated by spaces. Display … Read more

How To Check Linux Kernel Version

You can check the Linux kernel version by using the uname command in the terminal. Here’s how to check the Linux kernel version: Open a terminal window or log in to a virtual console. Type the following command to display the Linux kernel version: uname -r The output will show the version number of the … Read more

Red Hat / CentOS Linux Command To Find Dell Service Tag

In Red Hat Enterprise Linux (RHEL) or CentOS, you can use the dmidecode command to find the Dell service tag of your system. The dmidecode command is used to retrieve information from the DMI (Desktop Management Interface) table of your system, which contains information about the system’s hardware, including the service tag. Here’s how to … Read more

How To Unlock An Account on Linux

In Linux, you can unlock a user account by changing the account’s password. The exact steps to change a password depend on the Linux distribution and the method used to manage the user accounts. Here are the steps to unlock an account on a Linux system using the passwd command: Log in to the system … Read more