DEVGET.NET

Feeding Your Inner Developer

Category: Linux

How to get a previous date in bash (linux)

Simply put date -d ‘1 day ago’ +’%Y-%m-%d’ # For multiple days date -d ‘7 days ago’ +’%Y-%m-%d’ If you…

How to setup open MySQL Port (3306) on Ubuntu

Step 1: ensure we have mysql-server installed. apt-get install mysql-server Then: vim /etc/mysql/my.cnf COMMENT OUT (with a ‘#’): “bind-address =…

© 2020 DEVGET.NET. Theme by Anders Norén.