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’
Most businesses choose to create a professional email account to boost their credibility and build customer trust. To accomplish this, you just need to buy a domain and set up your business email on an email client or a server. If you build your website or web application with the PHP programming language, you can…
Have a website which needs Node.js to work and have no idea how to install it on your Server? No Problem, this guide will how you how you can install Node.js on your Server with CentOS Machine. Requirements Server with CentOS 6/7 Root Access to Server Procedure Login to Server using SSH Add Node.js repo…
Often time, you may need to know which file contains large file size, and delete it to save space. Here’s a code pattern to show you how to find large file size on Linux : 1. File size >= 100MB Find all files that have a size >= 100MB, from root folder and its sub-directories….
Just simple add below shortcode in the contact form in wp-admin [submit “SUBMIT FORM →”]
I noticed that on my CentOS 6 box, I was still running nginx 1.0.15. I wanted to upgrade to nginx 1.10.1. However, when I ran sudo yum update nginx, it showed that there were no Packages marked for Update. Luckily, getting the latest version through Yum is straight-forward and only requires adding a new repo….
In this guide, we will integrate the Google reCAPTCHA in the PHP contact form. Utilizing this Google reCAPTCHA code, we can validate the human users and protect the form of submission from bots. Integrating Google reCAPTCHA is recommended because It is an effective and efficient way of validating the user against bots. As we know…