Linux & Unix
How to check in a Bash script, if a file is empty
To check if a file is empty in a Bash script, you can use the "-s" test, which returns true…
How to Create A Directory in Bash if it does not exists
You can use the following script to create a directory like /home/user in a Bash script only if it does…
How to hide bash command output and errors
To redirect both the output and the errors of a Bash command to /dev/null, you can use the following syntax:…
How to Delete the root Crontab on Linux
You need root privileges to empty the root user's crontab on Linux. You can achieve this by either logging in…
Create shortcuts in Linux (symbolic links)
Windows users are used to being able to create shortcuts to have fast access to their files and folders easily.…
How to Requeue Emails in Postfix on Linux
This guide will show you step-by-step how to requeue emails in Postfix on Linux. I've been using these steps on…