Linux / Unix id Command Examples

The id command in Unix-like systems is used to display the user and group information for the current user or a specified user. It can display information such as the user ID (UID), group ID (GID), and the groups that the user belongs to. Here are some examples of how to use the id command: … Read more

Linux / Unix: bg Command Examples

The bg command in Unix-like systems is used to continue executing a job in the background, after it has been stopped. When a job is stopped, it is said to be in the “stopped” state, and it will not continue executing until it is either resumed in the foreground (using the fg command) or in … Read more

Debian Linux Install MySQL Database Server

To install the MySQL database server on Debian Linux, you can follow these steps: Update the package list: sudo apt update Install the MySQL server package: sudo apt install mysql-server During the installation process, you will be prompted to set a root password for the MySQL server. Choose a strong password and remember it, as … Read more

RHEL / CentOS 6 Linux Install Memcached High Performance Distributed Memory Object Cache Server

To install the memcached high-performance distributed memory object cache server on RHEL/CentOS 6 Linux, you can follow these steps: Install the memcached package using the yum package manager: sudo yum install memcached Start the memcached service: sudo service memcached start Verify that the memcached service is running: sudo service memcached status This will display the … Read more

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