Let's see how to display yesterday's date with the date command.
On MacOS, we pass the following command:
date -v -1d +'%Y-%m-%d'
On Linux:
date -d 'yesterday' +'%Y-%m-%d'
date -v -1d +'%Y-%m-%d'
date -d 'yesterday' +'%Y-%m-%d'
On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.
This article uses CentOS 6.2 to rebuild curl and git. The main reason is that the operating system is too old, so I directly build the latest version of git from source.
In this article, share the use of built-in instructions on MacOS to install the operating system of Raspberry Pi. Regarding the dd command during this installation process, please carefully specify the parameter of your of, which is the location of the write output to the file, If you make a mistake, your system will be destroyed.
No Comment
Post your comment