summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2017-11-21 16:04:15 -0800
committerBryan Newbold <bnewbold@archive.org>2017-11-21 16:07:53 -0800
commit605c8a353b17e127e1458701df47ab15e4f5e051 (patch)
treefd55f7220938d6d9b9813d749e2d57a0f373024a
parent7961ce324a8bc0472e4b6d982fc3d7e01146cc1f (diff)
downloadknowledge-605c8a353b17e127e1458701df47ab15e4f5e051.tar.gz
knowledge-605c8a353b17e127e1458701df47ab15e4f5e051.zip
seconds-since-epoch date
-rw-r--r--software/unix.page7
1 files changed, 7 insertions, 0 deletions
diff --git a/software/unix.page b/software/unix.page
index 879d8d0..52378a4 100644
--- a/software/unix.page
+++ b/software/unix.page
@@ -8,3 +8,10 @@ When opening a file::
In python, you can pass the ``close_fds`` argument to subprocess.Popen() to
close all file descriptors just after fork().
+
+date in seconds-since-epoch
+-----------------------------
+
+From the command line:
+
+ date '+%s'