Replace old text with new text Linux Command
[root@srv01 demo]# grep -rl ‘from test old’ . | xargs sed -i ‘s/from test old/from test new/g’
it’s necessary to install mod_ssl. On RHEL and CentOS, this is done with yum install mod_ssl.
Send 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…
While the mailserver generally requires little interaction for those sending or receiving average volumes of email, there may be times when you wish to manage Exim’s settings. To do so, first log in to your server in a terminal client using secure shell (SSH). Use the following commands to work with Exim. Display the number…
Question 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…
There is no excerpt because this is a protected post.
Home and navigation When you first log into your server, you will be in your home directory. For the root user, this is /root/. Linux folder structure Linux uses a nested folder structure to store different files. The top-level directory is considered the root directory, and is designated by /. Folders beneath the root level…