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'
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.
This function is very useful, but be very careful, read it first and then delete it, if you make a wrong directory, you will die miserably
Not sure who will use it, but I encountered it myself, because my home is a floating IP. A software I installed cannot detect that the ppp0 network card is an external network, so changing the name can trick him into successfully installing it.
No Comment
Post your comment