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'
I myself will need to use MacOS to dial VPN in the command line. Here I provide my alias and setting method
On the new version of RHEL 7/CentOS 7 or Fedora, we can check the status and make adjustments through timedatectl.
I think most of the current Linux supports Access Control List (ACL). With filesystem ACLs enabled, We can set additional permissions to different users or groups. This allows us to set the file system permissions of different users more freely. Go straight to the command.
No Comment
Post your comment