diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-05 02:30:19 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-09-05 02:30:19 +0000 |
commit | b291c01064bdd0ecff047e794a1173d89641fe6f (patch) | |
tree | d7766daeb09a1011fe1997089187d9945616d5ac /net/netcat/files | |
parent | 110eef605f02469d5fd0a4ea7c3e12f01e0ce603 (diff) | |
download | ports-b291c01064bdd0ecff047e794a1173d89641fe6f.tar.gz ports-b291c01064bdd0ecff047e794a1173d89641fe6f.zip |
- rename nc to netcat to prevent /usr/bin/nc from shadowing
/usr/local/bin/nc
PR: ports/11970
Submitted by: Jonathan Liu <Net147@hotmail.com>
Approved by: maintainer timeout (sumikawa ; 960 days)
Notes
Notes:
svn path=/head/; revision=260572
Diffstat (limited to 'net/netcat/files')
-rw-r--r-- | net/netcat/files/nc.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/netcat/files/nc.1 b/net/netcat/files/nc.1 index 8b4379f1652a..43da468e3754 100644 --- a/net/netcat/files/nc.1 +++ b/net/netcat/files/nc.1 @@ -1,11 +1,11 @@ -.TH NC 1 +.TH NETCAT 1 .SH NAME -nc \- TCP/IP swiss army knife +netcat \- TCP/IP swiss army knife .SH SYNOPSIS -.B nc +.B netcat .I "[-options] hostname port[s] [ports] ..." .br -.B nc +.B netcat .I "-l -p port [-options] [hostname] [port]" .SH "DESCRIPTION" .B netcat @@ -15,11 +15,11 @@ reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in -capabilities. Netcat, or "nc" as the actual program is named, should +capabilities. Netcat, or "netcat" as the actual program is named, should have been supplied long ago as another one of those cryptic but standard Unix tools. .P -In the simplest usage, "nc host port" creates a TCP connection to the +In the simplest usage, "netcat host port" creates a TCP connection to the given port on the given target host. Your standard input is then sent to the host, and anything that comes back across the connection is sent to your standard output. This continues indefinitely, until the |