Similar Posts
How To Create a Linux Swap File
BySamIn this article, we will explain swap space, and learn how to create swap space using a swap file in Linux: this is important in case we don’t have a swap partition created on the hard disk. Swap space/partition is space on a disk created for use by the operating system when memory has been…
How to configure the passive ports range for ProFTPd on a Plesk server behind a firewall
BySamQuestion How to configure the passive ports range for ProFTPd on a server behind a firewall? Answer Note: When configuring the passive port range, a selected port range must be in the non-privileged range (e.g., greater than or equal to 1024). It is strongly recommended that the chosen range should be large enough to handle…
Find Files and Directories in CentOS
BySamFind Files and Directories in CentOS The find command helps you locate files and folders on your hard disk. There are additional parameters that can be passed to the command that help you find files and folders in multiple ways. Find by filename, modified time, find files and folders. Basic syntax find /path/to/search -option1 -option2…
How to remove non empty Directory in Linux
BySamI am getting an error message that read as follows: rmdir: failed to remove ‘trip-pictures’: Directory not empty How can I remove non empty directory in Linux using the cli? There are two commands that one can use to delete non empty directories in Linux operating system: rmdir command – Delete directory only if it…
Enable root Access for Linux Instances
BySamAWS doesn’t grant root access by default to EC2 instances. This is an important security best practise. Users are supposed to open a ssh connection using the secure key/pair to login as ec2-user. Users are supposed to use the sudo command as ec2-user to obtain elevated privileges. Problems arise with a number of software packages…
Send A Test Mail via Exim Command line
BySamSend A Test Mail via Exim Command line Sending a test mail from a server with a configured exim is easy as pie. From your user shell: tell exim that we want to send a mail to an recipient and tell us about the details of the sending procedure $ exim -v receipient@foo.bar Tell exim…
