Posts
Bash Colon
truncate a file in bash
shell> : > file.txt : is a built in command in bash; it means no operations (do nothing) and exit status is true.
Posts
Allowing Visit Without www
if you have www.example.com domain name, you may want to allow people to visit your site with example.com. in such case, you need to go to login your DigitalOcean control panel and then go to “Networking” to add a CNAME as below:
HOSTNAME: www is alias of: @ Don’t hesitate and click “create record”. After sometime, you can visit your site with example.com, no www. prefix anymore!
Posts
My First Post
#save logins mysql_config_editor set --login_path=local --host=127.0.0.1 --user=root --password #login mysql --login-path=local