Checking disk space is an important task in Linux based machines because we may run heavy data intensive tasks that creates logs and without proper log rotation the disk will be filled up in just couple of days. To make sure we handle all the log rotation properly it is mandatory to check the space available in the disk at any given point in time.Enabling subject information in log storage will help administrators to sort the mails send based on the subject using grep command. In this micro article, we explain a quick 4 steps to enable this.Depending on the OS the command varies. mktemp and tempfile are the commands used in the Bash script to create temporary file - it is easy, readily available and simple to use.