Linux Commands

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

Linux SSH Commands Tutorial with Examples

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

Linux host Command Explained for Beginners (8 Examples)

Display detail information

Host command is a simple utility for performing DNS lookups in Linux. With this command, we can translate names into IP Addresses and vice versa. Here in the article I will show you some examples of using host command in [...]

Pungki Arianto 3:00 am

Linux head Command Tutorial with Examples

View multiple files

In a previous article, we learned how to use the tail command and its different options. The head command is used to print the first few lines of a text file. By default, the head command prints the first 10 lines of [...]

Pungki Arianto 3:00 am

Linux more Command Explained with Examples

Scroll up using more

If you are used to working with Linux, you will find a lot of file text in Linux world. Configuration files and log files are usually kept in text format. But those files usually has long content. You can not [...]

Pungki Arianto 3:00 am