N Nam Lê Member Jan 12, 2022 #1 How do I get current date in bash? Answer To get the date in bash shell and add a date, you can use the GNU date command as date -d ‘Feb 12 +1 day’ +%F which will output 2020-02-13 .
How do I get current date in bash? Answer To get the date in bash shell and add a date, you can use the GNU date command as date -d ‘Feb 12 +1 day’ +%F which will output 2020-02-13 .