Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
TCP/IP command. Internet File Transfer Protocol server. The server uses the TCP protocol and listens at the port specified in the ftp service specification. ftpd is usually started by xinetd and must have an entry in xinetd's configuration file, /etc/xinetd.conf. It can also be run in standalone mode using the -p option. There are several FTP daemons available. On many Linux distributions, the default is the Kerberos-supporting DARPA version, which we document here.
Require authentication via ftp AUTH. Allow anonymous users as well, if configured to do so.
Require authentication via ftp AUTH, but allow only users who are authorized to connect without a password. Allow anonymous users as well, if configured to do so.
Require local credentials for non-anonymous users. Prompt for a password unless the user forwards credentials during authentication.
Write debugging information to syslogd.
Log each FTP session in syslogd.
Use port as the FTP control port instead of reading the appropriate port from /etc/services. This option will launch ftpd in standalone mode.
Use PID files to record the process IDs of running daemons. This is the default. These files are needed to determine the current number of users.
Read Kerberos configuration from file instead of /etc/krb5.conf.
Read Kerberos V4 authentication information from file instead of /etc/srvtab.
Set default inactivity timeout period to n seconds. (The default is 15 minutes.)
Allow ftp clients to request a different timeout period of up to n seconds. (The default is 2 hours.)
Set the default umask to umask.
Read the list of users denied remote access from file instead of /etc/ftpusers.
Specify the format for the remote hostname passed to login. Use one of the following formats:
Pass the IP address.
Pass hostnames less than n characters in length, and IP addresses for longer hostsnames. Set n to 0 to use the system default. The striplocal portion of the option determines whether or not to strip local domains from hostnames. The default is to strip them.