aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBen Smithurst <ben@FreeBSD.org>2000-07-12 19:04:41 +0000
committerBen Smithurst <ben@FreeBSD.org>2000-07-12 19:04:41 +0000
commit94cb5b63f2b6afd74812a383b51f0c9fcaf53dc5 (patch)
tree375d9d7b03108bda2474bc700d4bcc555c655a8b /usr.bin
parent5a5cb9d26782efdab6f0a121e4b17cc2d826b2d1 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/ftp.148
1 files changed, 30 insertions, 18 deletions
diff --git a/usr.bin/ftp/ftp.1 b/usr.bin/ftp/ftp.1
index 43a637d43e61..e51199304b38 100644
--- a/usr.bin/ftp/ftp.1
+++ b/usr.bin/ftp/ftp.1
@@ -297,6 +297,11 @@ If no local file is specified, or if
is
.Sq Fl ,
the output is sent to the terminal.
+.Pp
+As this command provides extra information which is system-dependent,
+you should use the
+.Ic nlist
+command instead if you only want a plain list of files.
.It Ic disconnect
A synonym for
.Ic close .
@@ -419,22 +424,8 @@ A synonym for
.It Ic lpwd
Print the working directory on the local machine.
.It Ic \&ls Op Ar remote-directory Op Ar local-file
-Print a list of the files in a
-directory on the remote machine.
-If
-.Ar remote-directory
-is left unspecified, the current working directory is used.
-If interactive prompting is on,
-.Nm
-will prompt the user to verify that the last argument is indeed the
-target local file for receiving
-.Ic ls
-output.
-If no local file is specified, or if
-.Ar local-file
-is
-.Fl ,
-the output is sent to the terminal.
+A synonym for
+.Ic dir .
.It Ic macdef Ar macro-name
Define a macro.
Subsequent lines are stored as the macro
@@ -543,8 +534,29 @@ exist on the current system, the remote file is considered
Otherwise, this command is identical to
.Ar get .
.It Ic nlist Op Ar remote-directory Op Ar local-file
-A synonym for
-.Ic ls .
+Print a list of the files in a
+directory on the remote machine.
+If
+.Ar remote-directory
+is left unspecified, the current working directory is used.
+If interactive prompting is on,
+.Nm
+will prompt the user to verify that the last argument is indeed the
+target local file for receiving
+.Ic ls
+output.
+If no local file is specified, or if
+.Ar local-file
+is
+.Fl ,
+the output is sent to the terminal.
+.Pp
+Note that this command only returns the filenames in the remote
+directory. If you wish to see more information about the files (often
+size, modification time, and so on),
+you should use the
+.Ic dir
+command instead.
.It Ic nmap Op Ar inpattern outpattern
Set or unset the filename mapping mechanism.
If no arguments are specified, the filename mapping mechanism is unset.