Linux Commands

How to Split Large Text File into Smaller Files in Linux

Split large File smaller linux

Linux has several utilities for breaking down large files into small files. Split and csplit are two of the popular commands which are used for this purpose. These utilities will help to break down big log files and even archive [...]

Saheetha Shameer 12:05 am

How to Enable or Disable Services in Ubuntu Systemd/Upstart

disable enable ubuntu services

Often, there is a need to enable or disable services temporarily or permanently on our Ubuntu system. Sometimes, we may require certain services to start up automatically on boot up e.g ssh or web servers and sometimes we may need [...]

Jamie Arthur 12:05 am

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

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

14 Linux ps Command Practical Examples

show in hierarchy

As an Operating System which inspired from Unix, Linux has a built-in tool to capture current processes on the system. From 'ps' manual page, it gives a snapshot of the current processes. It will “capture” the system condition at a single [...]

Pungki Arianto 8:00 pm

Linux Commands Cheat Sheet in Black & White

Keep this Linux 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. Please [...]

Bobbin Zachariah 3:00 am