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’
Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC. If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC” UPDATE oc_setting SET value=’UTC’ WHERE key = ‘config_timezone’; If still issue, follow below method. Method-2: You…
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….
There is no excerpt because this is a protected post.
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…
What’s ss Command? ss stands for socket statistics. It is used to dump socket statistics about network/socket connections. It’s showing information similar to netstat, it works better and faster compared with netstat. It can display more TCP and state information than other tools. Since the ss command gets all the information directly from kernel space…
Introduction SQLi is the manipulation of a security flaw in database systems. WordPress, as a platform, runs server-side scripts in PHP and uses SQL databases. Hence, SQL and PHP make WordPress websites vulnerable to attackers. They could insert malicious URLs (which are embedded with commands) that trigger unwanted behaviors from your database. Consequently, your database’s…