Get the App
SLTechnology News&Howtos  ›  Development  › 

How shell uses the date command

Shulou Source: shulou.com Published: 2022-06-01 04:04:55 09月22日 Update

Editor to share with you how to use the date command shell, I believe that most people do not know much, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!

Date

$date +% Y-%m-%d2012-12-24$ date +% Y-%m-%d-date'- 1 day'2012-12-23$ date +% Y-m-%d-date 'Dec 25-12-25$ date +% Y-m-%d-date' Dec 25-10 days'2011-12-15 are all the contents of this article entitled "how shell uses date commands". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Articles commands content not much most more knowledge industry information information channels channels references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Xiaomi Shulou Tech Info Linux macOS