The du command is a short form of “disk usage” is used to get details of used disk space by given files or directories. Generally, it is used to find out the large size files which occupies more disk space. In this article we will cover how to use the du command in Linux. How
terminal - Page 5 of 13 - DesignLinux
Bash For Loop
Loop is the basic requirement of any programming languages. Loops are useful when you want to execute a series of commands until the certain condition is satisfied. In Bash, loops are useful for automating repetitive tasks. In this tutorial, we will see basics of for loop in Bash. There are three basic loop constructs, for
Gzip Command in Linux
The Gzip is the popular compression algorithm to reduce the size of a file with keeping file in original mode, ownership and timestamp. It also known as the .gz file format. The gzip utility is used to compress and decompress the files. In this guide, we will show you how to use the gzip command.
Bash if..else Statement
The if statement is the most basic concepts of any programming language. In Bash, you can also use if…else, if…elif.else and nested if statements like other programming languages. In this article, we will show you the basics of the Bash if statement and use of it in your shell scripts. if Statement# If statement can
Wall command in Linux
The wall is a command line tool used to show message on the terminals of all logged-in users. wall stands for write all. Generally, it is used by system administrators to announce of maintenance and further use. This guide covers the use of wall command in Linux. The message sent using wall will display on
Linux Tee Command with Examples
The tee command is used to read the standard input and write and writes to both standard output and one or more files at the same time. Generally, tee is used with combination of other commands through piping. In this tutorial, we’ll cover the basics of using the tee command. tee Command Syntax# Below is
Date Command in Linux
In Linux, the date command is used to get or set the system date. It is used to print the date and time in different formats and calculate future and past dates. This tutorial explains the basics of the date command. Using the Linux date Command# Following is the basic syntax for the date command:
How to List Cron Jobs in Linux
Cron is a scheduling daemon, used to schedule the execution of any tasks at specified time intervals. Such tasks (cron jobs) can be schedule to run at every minute, 5 minute, hour, day of the month, day of week, etc. Generally, cron jobs are used to perform repeated tasks, such as to backup databases, clearing
Pkill Command in Linux
The pkill is a command-line utility, used to send signals to the processes of a running program. The processes can be specified by their names, by a user name, or other attributes. In this article we will discuss about pkill command in Linux. By default the pkill command comes pre-installed as a part of the
Wall command in Linux
wall is a command-line utility that displays a message on the terminals of all logged-in users. The messages can be either typed on the terminal or the contents of a file. wall stands for write all, to send a message only to a specific user use the write command. Usually, system administrators send messages to