Linux

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 »

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 ‘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. The tail command default output When no options are provided, it prints the last 10 lines for all the input files provided as arguments. In addition to this, …

The ‘tail’ command in Linux Read More »

Linux Zip and Unzip Commands

With windows, you have a couple of well-known GUI utilities like WinRAR, 7zip, etc. that allow you to play around with archived files. What do you do in the case of Linux? Let me introduce to you, the Linux zip and unzip commands. These are very simple yet powerful commands that allow you to play …

Linux Zip and Unzip Commands Read More »

The mkdir command in Linux

The mkdir command in Linux is used to make directories, hence the command is named mkdir. With traditional GUI systems, if you want multiple directories, you have to create one directory at a time. The mkdir is a very flexible and customizable command in this matter. Let’s look at the functionality. Using the mkdir command …

The mkdir command in Linux Read More »

The man command in Linux/Unix

When you buy a new home appliance, it is accompanied by a user manual that explains the functions of the appliance. Similarly, when you download and install a new package for Linux, the user manual for the program is automatically installed in your system. The man command is what you can use to read through …

The man command in Linux/Unix Read More »

Sudo Command in Linux/Unix

When you use the sudo command for the first time, you see the message “With great power, comes great responsibility.” And rightly so. “Sudo” is short for Superuser Do. With this command, any user who has been granted permissions has access to root-like privileges without having to actually be a superuser. Working with sudo Command …

Sudo Command in Linux/Unix Read More »