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 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
Sometimes we need to generate a random password, but do not know what to use? Here is a simple bash that allows us to easily generate a set of passwords on the terminal.
AP provides WPA2/EAP function, but it won't work? This article introduces how I can quickly build a Radius server through docker's ubuntu:21.04 image. Related applications such as WPA2/EAP of Wifi.
No Comment
Post your comment