Puddinq.com sharing knowledge

Export users in wordpress multisite using wp cli

Use curl to get certificate expiration date

Bash article icon

If you want to get the expiration date for an ssl certificate on a website, you can run the following command: But if the website is not live (dns is not pointing that way), you can make a curl request as if some resolve combination ip-address / domain name is in your hostfile. (without putting […]

Remove line from command line history

The cli keeps all commands you type and you can access that history. Other people using the same username can also see all those commands.. sometimes it is necessary to remove something.. here are two solutions Another way is with sed: