summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'