Tutorials

The uptime Command in Linux

As a Linux user, or as a server administrator, you need to regularly understand how long your servers have been up and running to understand their patch levels. What that means is that if a major update was recently rolled out, but a server has been up for a few weeks, you know that the […]

The uptime Command in Linux Read More »

The killall Command in Linux

In this tutorial, we’ll cover the killall command in Linux. We recently posted a tutorial on the kill command in Linux where we covered the usage and the functionality of the command. Today, we’ll go over how to use the killall command in Linux, and understand the difference between kill and killall commands. What is

The killall Command in Linux Read More »

The tail command in Linux

The tail command in Linux displays the last few lines/blocks of any file, the number of lines/blocks being dependent on the options passed when using the command. Also read: The uptime Command in Linux The Linux tail command default output When no options are provided, the tail command prints the last 10 lines for all

The tail command in Linux Read More »

Setting Hostname in Debian

There are multiple ways of setting hostname in Debian or Linux system. You can temporarily change the hostname, or permanently apply the changes to a system. Let’s go over these methods. Setting hostname temporarily Let’s start with the temporary and simple method. The hostname command in Debian allows you to set up the system hostname

Setting Hostname in Debian Read More »

The ‘touch’ command in Linux

The touch command in Linux is used to update timestamps on files, namely, the access and modification time for any file(s). This is basically ‘touching’ the file, and hence the name of the command. This command has different options through which we could modify certain timestamps for the files provided as arguments. 1. Using touch

The ‘touch’ command in Linux Read More »