projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d345ac
)
Standardize example hostname in simple-server post.
author
W. Trevor King
<wking@drexel.edu>
Wed, 3 Aug 2011 10:59:38 +0000
(06:59 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 3 Aug 2011 10:59:38 +0000
(06:59 -0400)
posts/Simple_servers.mdwn
patch
|
blob
|
history
diff --git
a/posts/Simple_servers.mdwn
b/posts/Simple_servers.mdwn
index d1a1714aa143bf728615612ac839c91bd9f62abb..598e4984983b91806558f06d321b1545f19ed20c 100644
(file)
--- a/
posts/Simple_servers.mdwn
+++ b/
posts/Simple_servers.mdwn
@@
-15,7
+15,7
@@
The `-q 1` tells netcat to quit after an EOF is detected. When the
client quits, the connection breaks, and the server goes down on its
own. If you want netcat to stay up you'll have to restart it:
- $ while nc -l -p 8080
tyr
; do :; done
+ $ while nc -l -p 8080
a.example.net
; do :; done
The `:` is Bash's noop.