Linux Commands

How to List Cron Jobs in Linux

List cron jobs linux

For linux to automatically perform tasks that you would otherwise have to perform yourself, such as running scripts and executing specific commands, we use a tool called cron. On Linux systems, the cron utility is the preferred way to automate [...]

Slavisa Milojkovic 6:00 am

How to Get Size of Directory in Linux

how to find disk usage of directories in linux

In this article, we focus on how you can check the size of Directory on Linux Systems. This we are going to achieve using the command line interface. The command used to retrieve the file sizes is the  du  command, short [...]

Winnie Ondara 2:50 pm

How to Rename Files in Linux

Methods to rename a file in linux

Renaming files in Linux is one of the easiest tasks that you can accomplish straight from the command line. There are quite a few ways you can achieve this and in this guide, I will take you through how you [...]

Winnie Ondara 10:09 am

How to Delete Files and Directories in Linux

How to delete files in Linux

You may, in some cases, need to delete directories and files that you do not need to free up space on your hard drive. In this brief tutorial, you will learn how to delete files and directories in Linux. To [...]

Jamie Arthur 7:32 pm

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