date命令格式用法

yao@yao:~/shells/tmp$ date +%Y%m%d
20190405

yao@yao:~/shells/tmp$ date +%Y%m%d%H%M%S
20190405203505

yao@yao:~/shells/tmp$ date +%F
2019-04-05

相关文章:

  • 2021-12-20
  • 2022-01-27
  • 2021-06-30
  • 2022-12-23
  • 2021-12-14
  • 2021-09-27
  • 2021-12-13
猜你喜欢
  • 2022-12-23
  • 2021-05-04
  • 2021-09-14
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案