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'
Htop is a free (GPL) ncurses-based program monitor tool for Linux. It is similar to top, but allows you to scroll vertically and horizontally, so you can see the full command line running on the system, And you can view them as program trees, select multiple programs and operate them.
I think if you want to write some automation functions, it may be useful to be able to format the output container content. The following are some reference examples of Docker container formatting and display instructions
I myself will need to use MacOS to dial VPN in the command line. Here I provide my alias and setting method
No Comment
Post your comment