summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-07-27 14:38:27 -0700
committerbnewbold <bnewbold@robocracy.org>2012-07-27 14:38:27 -0700
commit8b85eb300b63a80160d2f38be8b0f2a0816a93a1 (patch)
tree7ed0e85632d9079c267d3783b507c40af473400a /software/unix-tricks.page
parent78d14ca99ddc7b4d1727d330b1aaed4e6502294c (diff)
downloadknowledge-8b85eb300b63a80160d2f38be8b0f2a0816a93a1.tar.gz
knowledge-8b85eb300b63a80160d2f38be8b0f2a0816a93a1.zip
misc tricks and notes
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``.