How to create a directory named after the Year and Month

前端 未结 0 1153
失恋的感觉
失恋的感觉 2021-01-15 13:39

So I want to create a directory called which is the Year + Month:

2021JAN

But in my terminal, I tried:

mkdir $(date + "%Y%m")
<         


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