Linux Commands

netctl - Setup Wifi and Static IP on Arch Linux

netctl wifi static ip arch linux

This guide will concentrate on how to setup wifi on Arch Linux using netctl command line tool. Netctl is a CLI-based tool used to configure and manage network connections via profiles on Arch Linux. This command should be provided by the base packages [...]

Josphat Mutai 12:05 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

2 Ways to Limit CPU Usage of a Process in Linux

Limit CPU Usage Process Linux

While administering your Linux system you need to limit the CPU usage of a process because it can consume more CPU usage and affects the performance of the whole system. This tutorial I will show how you can control CPU time [...]

Alain Francois 12:05 am

How to Show Installed Package Size on Ubuntu/Debian

show installed package size ubuntu

In this guide, I'll take you through the steps to show installed package size on Ubuntu/Debian Linux systems. This can be important when doing space audit trying to find packages using occupying large space on your system. The Ubuntu / [...]

Josphat Mutai 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

chage command - Reset password expire 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 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

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

Fasd - Alternative Tool for Autojump to Quick Access Linux Filesystem

fasd

Fasd is a command-line productivity booster that offers quick access to linux files and directories for POSIX shells (Portable Operating System Interface). It is the similar tool like autojump, z and v used to navigate filesystem. Fasd keeps track of [...]

Kashif Siddique 3:00 am

How to Stop Process Using Kill Command in Linux

The kill command is used on Linux and other Unix-like operating systems ( Solaris,  AIX, HP-Unix, Mac). It doesn’t matter which operating system you are using to terminate processes without having to log out or reboot the computer. A process [...]

Shaha Alam 3:00 am

How to Use SSH Command in Linux

SSH is a popular, powerful, software-based approach to network security. It is used for logging into a remote machine and for executing commands on a remote machine. Whenever data is sent by a computer to the network, ssh will automatically encrypt [...]

Shaha Alam 3:00 am

14 Linux ps Command with Practical Examples

show in hierarchy

Linux ps command is a built-in tool to capture current processes on the system. It will capture the system condition at a single time. If you want to have repetitive updates in a real-time, we can use the top command. [...]

Pungki Arianto 8:00 pm

Linux Commands Cheat Sheet in Black & White

Keep this Linux command cheat sheet on your desk printed, I am sure you will learn them quickly and will be a Linux expert very soon. We have added had both pdf and image (png) format of the cheat sheet. [...]

Bobbin Zachariah 3:00 am

How to Use Dig Command in Linux (10 Examples)

Bulk query using text file

Dig is a short from 'Domain Information Groper'. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. This tool is an alternative DNS lookup tool, nslookup. Unless it is told to [...]

Pungki Arianto 3:00 am