Linux Commands

How to List Services in Linux

How to list all running services in linux

In this article, I will show you how to list all running services on Linux. We will also check how to check the status of a service on a systemd system. Let's learn different commands used to list services on Centos/RHEL 7.x. [...]

Winnie Ondara 12:19 pm

Set Time/Date/Timezone in Ubuntu Linux - A Complete Guide

How to set time and time zone in ubuntu linux

Time is an important aspect in Linux systems especially in critical services such as cron jobs. Having the correct time on the server ensures that the server operates in a healthy environment that consists of distributed systems and maintains accuracy [...]

Pungki Arianto 8:15 am

How to Count Number of Files within a Directory in Linux

count number files directory linux

Have you ever racked your brain for a way that you can count the number of files within a directory and sub directories in Linux? In this brief article, we'll look at how you can do that in a simple [...]

Jamie Arthur 12:05 am

How to Use Linux gunzip Command with Examples

gunzip command

Have you come across files bearing a  .gz extension? These are files which have been compressed using the gzip command. Gunzip is a Linux command that is used to decompress such files earing the .gz extension and in this tutorial, we will [...]

Winnie Ondara 8:25 am

Methods to Use Uniq Command in Linux with Examples

uniq command linux

If you are a Linux user and your work involves with working with and manipulating text files and strings, then you should be already familiar with the uniq command, as it is most commonly used in that area. For those [...]

Nishali Wijesinghe 7:01 am

How to Sort Files by Date Using LS command in Linux

ls command sort by date

The ls command is used to list directory contents and the results can be sorted upon several criteria such as by date, alphabetical order of filenames, modification time, access time, version and file size. In this article, I will show [...]

Ahmed Abdalhamid 7:09 am

Learn How to Get Linux IP Address in Different Ways

Get IP Address Linux Systems

How many commands you know to get IP address on your Linux systems? In this article, we'll discuss a few ways to get IP address as well as public IP on Linux. ifconfig command ip addr Hostname -I command nmcli command ip [...]

Winnie Ondara 3:43 pm

How to Restart Networking in Ubuntu

how to restart networking in ubuntu

How often do you restart your network services? Sometimes you might need to troubleshoot your network connection in case you have made changes to your network or simply cannot access the internet. In this article, we'll focus on how you [...]

Jamie Arthur 12:05 am

Learn How to Delete or Remove A User on Ubuntu

delete user and home directory ubuntu

How do I delete a user from your Ubuntu Linux system? Such instances include when users leave the company or when their accounts become dormant for so long. In this tutorial, I will show you how to delete a user and [...]

Jamie Arthur 1:57 pm

How to Sort all Files by Size Using ls command in Linux

ls command sort by size linux

The ls command is most popular and very useful command for listing the content of directories. In this article, we will explain how to use  ls sort option to list directory content by size. 1) List Files in the directory by size (Sorting) [...]

Ahmed Abdalhamid 3:27 pm

Discover the Best 7 Ways to Create a File in Linux Terminal

linux create file

In this article, I will show you how to create a file from a Linux terminal. There are many text editors like (vim, nano, vi) and many commands like (cat, echo, printf, touch) to create a file in the Linux [...]

Ahmed Abdalhamid 8:25 am

8 LDD Command Examples in Linux

LDD Command Linux

ldd is a Linux command line utility that is used in case a user wants to know the shared library dependencies of an executable or even that of a shared library. You might have noticed many files starting with lib* in [...]

Ahmed Abdalhamid 4:39 am

Linux List Group Members in Linux Terminal

linux list group members

In this article, we'll look at different ways of how you can list members of a group in Linux.  The /etc/group text file stores group information. There's one entry per line containing the following information Group name Password Group ID [...]

Winnie Ondara 5:29 am

RPM Commands in Linux with Examples

RPM Commands Linux

RPM(Redhat Package Manager) is a command line package management utility used for installing, uninstalling, updating, querying and verifying software packages. This article I will explain some of the most common Linux rpm commands for a system admin. Some of the [...]

Bobbin Zachariah 1:30 am