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.
tftp [options] [host [port] ] [-c command]
User interface to TFTP (IPv4 Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified, and optionally the port, in which case tftp uses host as the default host for future transfers. The version of tftp described here is tftp-hpa.
Run command as though it had been entered at the tftp prompt. Must be last on the tftp command line.
Set the default transfer mode. Usually used with -c.
Print version and configuration information and exit.
Once tftp is running, it issues the prompt:
and recognizes the following commands:
Print help information. If no command is specified, list the commands and a brief usage message. With a command, list the usage message for that command.
Shorthand for mode ascii.
Shorthand for mode binary.
Set the hostname, and optionally the port, for transfers.
Get a file or set of files from the specified remote sources. The filename can be specified as host:filename to set both host and filename at the same time. In that case, the last host specified becomes the default for future file transfers.
Set the mode for transfers. transfer-mode may be ascii, netascii, binary, octet, or image. The default is ascii.
Transfer a file or set of files to the specified remote file or directory. The destination can be specified as host:filename to set both host and filename at the same time. In that case, the last host specified becomes the default for future file transfers. If remote-directory is specified, the remote host is assumed to be a Unix-style system that uses / as the directory path separator.
Set the per-packet retransmission timeout, in seconds.
Print status information: whether tftp is connected to a remote host (i.e., whether a host has been specified for the next connection), the current mode, whether verbose and tracing modes are on, and the values for retransmission-timeout and total transmission-timeout.
Set the total transmission timeout, in seconds.
Toggle packet tracing.
Toggle verbose mode.