Using blkid command you can view attributes of block devices that are on your system.

This is a quick way to find the type of the block devices on your system.

This uses the libblkid library to get the values.
(more…)

Snapper is a Linux utility to take backups on Linux.

It is especially helpful to create multiple snapshots of your filesystem. Once you take a snapshot, you can later use that snapshot to restore files.
(more…)

Edquota command is used to edit the quotas for a user or group. This is just an editor, from where you can change the quota values.

By default, this will open up the quota file in an Vi editor, from where you can change the values. When you save the file, it will overwrite the original quota values for the user or group based on the one you’ve just entered.
(more…)

For most case, you’ll typically install php from the repository of your corresponding Linux distribution.

For example, on CentOS or Red Hat, you will do: yum install php

However under certain circumstance, you might end-up installing PHP from source code.
(more…)

I setup the NFS server without any issues.

On the NFS server, the following are already taken care:

  • rpcbind service is running.
  • nfs service is running.
  • I’ve exported a local directory using client-ip using exportfs

(more…)

atq command is part of the at package, which is used to schedule jobs in the background.

atq command will display all pending jobs that still needs to be executed.
(more…)

tune2fs command is helpful to manipulate the filesystem parameters of a ext2, or ext3, or ext4 type file system.

There are several options available with tune2fs command that you can use to either view the current parameters, or change some of the parameters value.

This tutorial explains some of the most frequently used tune2fs command parameters.
(more…)

repquota stands for report for quota.

This will display filesystem usage and quota information on your system.
(more…)

Using sudo, a regular user can execute root command, provided they are allowed to execute the command by a sysadmin.

Apart from executing the command as root, an user can also execute a command as any other user, if they have the permission to do it.

This article explains how to use the sudo command from end-user point of view.
(more…)

The main advantage of anacron is that you don’t need to have the system be up and running always to execute the background jobs.

This is very helpful when you want to run background jobs on laptops, which might not be available 24×7. But, you still can schedule routine jobs on these machines using anacron.

This way whenever the laptop starts again, any pending scheduled jobs will be executed by anacron
(more…)