summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-09-28 22:45:53 -0700
committerbnewbold <bnewbold@robocracy.org>2017-09-28 22:45:53 -0700
commita2f4b6ff17a51c190ea4f35bdaedc44a7f50c35e (patch)
tree88be4850c3f52ef8d8ccd715ec2336eb6865fed7 /software/unix-tricks.page
parente6edc12f06231becdaa47b6f10884d0ebf62e587 (diff)
downloadknowledge-a2f4b6ff17a51c190ea4f35bdaedc44a7f50c35e.tar.gz
knowledge-a2f4b6ff17a51c190ea4f35bdaedc44a7f50c35e.zip
bash tutorial and notes
Diffstat (limited to 'software/unix-tricks.page')
-rw-r--r--software/unix-tricks.page5
1 files changed, 5 insertions, 0 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index 26d6877..d6c363e 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -89,3 +89,8 @@ Using sed:
sed -i 's/OldString/NewString/g' *.txt
+File-based Network Access
+---------------------------------------------
+
+You can directly access network sockets as if they were files from bash using
+the virtual devices ``/dev/tcp/HOSTNAME/PORT`` and ``/dev/udp/HOSTNAME/PORT``.