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’
As a developer, you will occasionally need to create a new administrative user in the database to gain access to the site. Typically, this is necessary when you are provided with an export of a WordPress database, but you aren’t provided with the login credentials for the admin user. Sure, you can gain access via…
Setup Virtual Hosts with Apache on Node.js CentOS Server Do you want to host multiple Node.js Websites on the same Server with different location stored? No Problem, we have a solution for you. We will use apache to turn our server into a web server. There are small requirements for this process. Requirements CentOS Machine…
What is a WHOIS Database? The WHOIS database contains the listing of all registered domains on the internet. You can do a WHOIS lookup to access various details related to a domain like registration date, expiry date, domain ID, name of registrar, contact information, server name and more. The WHOIS database is available to the…
Chrome and Firefox have started showing insecure warnings on sites without SSL certificates. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to redirect from HTTP to HTTPS. What is SSL? SSL (Secure Sockets Layer) is…
How to automatically clean up /tmp directory contents in Linux? Every Linux system has a directory called /tmp which has mounted with separate file system. It has special filesystem called tmpfs. It’s a virtual filesystem and operating system will automatically mount /tmp mount point while system booting. If you want to mount /tmp directory separately as…
There is no excerpt because this is a protected post.