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’
5 0 * * * /bin/find /tmp/ -type f -print0 | xargs -0 rm
Do you know most of the security vulnerabilities can be fixed by implementing necessary headers in the response header? Security is as essential as content and SEO of your website, and thousands of websites get hacked due to misconfiguration or lack of protection. If you are a website owner or security engineer and looking to protect your…
We recently redesigned a WordPress site for a client who was migrating away from WP Engine. When we migrated the client to the new host, they still had a “WP Engine” section in their WordPress dashboard main menu. Since this feature set would no longer be utilized, it was best to get the plugins removed…
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…
This guide will show you how to extend or resize an ext2/3/4 and XFS File System without LVM at runtime. This could be a root partition configured with ext2/3/4 or XFS filesystem but without any LVM configured. Step 1: Check your current root disk capacity For this demonstration, I have a CentOS 7 VM with…
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…