Time modification in .sh shell script

后端 未结 0 1386
春和景丽
春和景丽 2021-02-20 18:09

With the code below, I can get the current date with Year-Month-Day:

#!/bin/bash
 
now="$(date +\'%Y-%m-%d\')"
# .....
# Commands

相关标签:
回答
  • 消灭零回复
提交回复
热议问题