summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
Diffstat (limited to 'software/unix-tricks.page')
-rw-r--r--software/unix-tricks.page7
1 files changed, 7 insertions, 0 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index 34c96d5..293045e 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -38,6 +38,10 @@ server up the working directory as cgi to local host, use::
$ thttpd -p 8080 -h localhost -D
+To allow CGI for PHP scripts:
+
+ $ thttpd -p 8080 -h localhost -D -c \*.php
+
Simple "undelete"
--------------------
This oneliner is useful for recovering recently deleted files from unix
@@ -52,3 +56,6 @@ Misc
``tput`` is useful for controlling the terminal cursor position, font style,
etc.
+OpenSSL Primes
+-----------------
+See if a number is prime with ``openssl prime 2011``.