diff --git a/docs/kb/linux-cli/date-command-unix-timestamp.md b/docs/kb/linux-cli/date-command-unix-timestamp.md new file mode 100644 index 00000000..4c3f507d --- /dev/null +++ b/docs/kb/linux-cli/date-command-unix-timestamp.md @@ -0,0 +1,7 @@ +--- +title: Date command to get the Unix time stamp +--- + +```shell +date +%s +``` diff --git a/mkdocs.yml b/mkdocs.yml index 83594610..418ad7aa 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -78,6 +78,7 @@ nav: - Check SSL certificate for Mail server: kb/linux-cli/check-ssl-certificate-for-mailserver.md - "Command not found: complete": kb/linux-cli/command-not-found-complete.md - Create random string: kb/linux-cli/create-random-string.md + - Date command to get the Unix time stamp: kb/linux-cli/date-command-unix-timestamp.md - Passwordless sudo using fingerprint on mac: kb/linux-cli/fingerprint-for-sudo-mac.md - Get current Folder: kb/linux-cli/get-current-folder.md - "gpg: Note: database_open waiting for lock (held by)": kb/linux-cli/gpg-note-database_open-waiting-for-lock-held-by.md