LINUX COMMANDS

This category covers topics including various linux command line utilities and its uses.

How to Check Execution Time of a Process in Linux

linux process execution time

Have you been wondering how you can find an execution time of a process in Linux or Unix system?. This guide will show you a number of tools which comes in handy when trying to find execution time of a [...]

Josphat Mutai 2:12 am

fkill - Interactive Tool to Kill Processes in Linux

fkill Interactive tool kill processes

In this guide, I'll demonstrate how you can use fkill-cli to easily kill a process on Linux. fkill-cli is a command line tool written in Nodejs which makes process management on Linux, macOS, and Windows simpler. It provides a guided way [...]

Josphat Mutai 12:47 am

How to Use Truncate Command in Linux

linux truncate command

Welcome to our guide on how to use Truncate Command in Linux. The Linux truncate command is often used to shrink or extend the size of each FILE to the specified size. The final size of the file depends on [...]

Josphat Mutai 12:05 am

How to List Installed Packages by Size on CentOS/Fedora/Arch Linux

list size installed packages

Sometimes, you may need to keep track of your system's hard drive space especially if it's a cloud instance that's hosted on Amazon EC2, Linode, Digital Ocean or on your physical server.  You may be tempted to think that it's only [...]

Jamie Arthur 12:05 am

How to Exclude Specific Packages from Yum Update

yum exclude package

In this article, we'll show you how to exclude specific packages from updating using Yum package manager. Periodically, you may want to update your CentOS or RHEL system but leave out certain packages especially if the updates are likely to [...]

Jamie Arthur 12:05 am

How to Reset Linux Password to Expire after Number of Days

linux Reset password N days

Best System administration practice requires a periodic change of passwords for any operating system, and Linux is no exception. This is for security reasons. However, most users do not take heed of this and continue to use the same passwords [...]

Jamie Arthur 12:05 am

How to Install Specific Version of Package on CentOS & RHEL 7

yum install specific packages

Sometimes, you may need to have a certain version of a package installed on your system to conform to a certain requirement. In this article, we are going to see how we can install specific versions of packages using yum package [...]

Jamie Arthur 12:05 am

How to Install Specific Version of Package using apt-get

apt-get install specific package

To handle Debian-based system packages, we use the apt-get command. This command requires administrative rights to work. It contains several options that make it possible to manipulate the packages through some operations like the installation, update or deletion, and many [...]

Alain Francois 12:05 am

How to Use DNF History to List Manually Installed Packages

dnf history command

Once in a while, as a Linux user, you may want to conduct an audit of the status of various installed packages on your Linux machine. The main purpose is to keep track of the packages installed and those that [...]

Jamie Arthur 12:05 am

How to Use Semanage Command for SELinux Policy

Semanage Command

Semanage is a tool used to configure certain elements of SELinux policy without modifying or recompiling policy sources. This includes mapping Linux usernames to SELinux user identities and security context mappings for objects like network ports, interfaces, and hosts. By [...]

Eyram Amedzor 12:05 am

4 Commands to Wipe Disk on Linux

linux wipe disk commands

Sometimes you can need to delete or format a hard drive for some operations. The most common use case for completely and irrevocably wiping a device will be when the device is going to be given away or sold as [...]

Alain Francois 8:40 am

How to Install and Use GraphicsMagick to Edit Images CLI

install GraphicsMagick

GraphicsMagick is a tool that allows to edit images from terminal. It claims to be a handy tool for those cases in which you have to do some quick image editing and don't want to open a heavy program such [...]

Ivo Ursino 12:05 am

3 Methods to Change the Number of Open File Limit in Linux

open file limit linux

The operating system assigns temporarily a number called file handle to a file when it is opened for access. A special area of main memory is reserved for file handles, and the size of this area determines how many files can be opened at once. The processes [...]

Alain Francois 6:17 am

A List of Awesome Linux Command Line Text Based Games

commandline games

The Linux command line is a powerful console which lets you interact with the entire Linux environment at a more intimate level. Though Linux isn't well known for gaming like Windows is, you can do a whole lot more with [...]

Eyram Amedzor 3:10 am