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…
cat /usr/local/nginx/conf/vhost.ssl.d/domainname.com.conf Add below lines before – location = /favicon.ico { #………….. Cpnginx OCSP stapling protection for security start ……………….. ssl_stapling on; ssl_stapling_verify on; ssl_trusted_certificate /usr/local/nginx/conf/ssl.ca.d/gameoncricket.com_ca-bundle; resolver 127.0.0.1 8.8.8.8 4.2.2.1 8.8.4.4 4.2.2.2 valid=300s; resolver_timeout 5s; #………….. Cpnginx OCSP stapling protection for security end………………….. After above, nginxctl rebuildvhost domainname.com check nginx status – systemctl status nginx.service…
There is no excerpt because this is a protected post.
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…
Listing sizes in AWS S3 Buckets Getting the whole bucket size aws s3 ls s3://$BUCKETNAME/ –recursive –human-readable –summarize | tail -n2 Tail is used because otherwise all files will be printed on screen (but you may want that for some reason). Getting the size of a specific directory/file You just need to add the path…