Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the cal command in Linux

2025-04-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to use the cal command in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

I used to hear that a very strange month can be found on Linux, but I forgot that special month at that time. Today, I searched the Internet and found that I learned about human time reform through the Linux cal command (month).

# cal 9 1752 September 1752

One, two, three, four, five, six.

1 2 14 15 16

17 18 19 20 21 22 23

24 25 26 27 28 29 30

We found that September 2, 1752 was followed by the 14th, which was really strange. By searching the Internet, we found the answer:

In February 1582, the Holy see demanded that 10 days be subtracted from mid-October 1582, so October 4, 1852 was followed by the 15th. It has been dealt with in Italy, Spain and other countries. Other Catholic countries soon followed suit, but Protestant countries were reluctant to modify it, and orthodox countries such as Greece did not modify it until the beginning of the 20th century, so the reform was not implemented in Britain and its colonies (including the United States) in September 1752. So September 2, 1752 was followed by September 14, 1752. This is why cal generates the above output.

Thank you for reading! This is the end of the article on "how to use cal commands in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report