Co robi TFTPD użycie. Konsola and operates at the port indicated in the tftp Internet service.

Czy przydatne?

Polecenie tftpd

Wykonanie, użycie: TCP/IP command. IPv4 Trivial File Transfer Protocol server. in.tftpd is normally started by inetd and operates at the port indicated in the tftp Internet service description in /etc/services. Only publicly readable files may be accessed. By default, only files that already exist and are publicly writable can be written. In addition, if any directories are specified, access is restricted to files in those directories. The version of tftp described here is tftp-hpa

Opcje wykonania tftpd w konsoli

-a [address] [:port]

Specify the address and port to listen to when run in standalone mode with -l. By default, use the address and port in /etc/services.

-B size

Do not transmit blocks larger than size, a number between 512 and 65464.


Allow new files to be written. The default permissions allow anyone to read and write the files. Use -p or -U to set other permissions.


Run tftpd in standalone mode, not from inetd. This mode ignores -t.

-m file

Remap filenames based on rules specified in file. Each line in this file should contain an operation, an egrep-style regular expression (regex), and, optionally, a replacement pattern. If the regex matches any part of a filename, the operation is performed. The operation is specified as any of the letters shown in the next section, alone or in combination. Comment lines begin with #. See filename remapping rules below.


Use only normal system access controls for the user specified with -u (the tftpd username).

-r option

Never accept the specified RFC 2347 option. The possible options are blksize, blksize2 (not based on a standard; like blksize but the block size must be a power of 2), tsize (transfer size), and timeout.


On startup, change root directory to the directory specified as directory on the command line. With -s, only one directory should be specified. Recommended for security and compatibility with certain boot ROMs.

-t timeout

Specify how long in seconds the server should wait for a new connection before terminating. Default timeout is 900 (15 minutes). If terminated, inetd spawns a new server when it receives a new request.

-T timeout

Wait timeout microseconds before retransmitting the first packet.

-u username

Specify the name of the tftpd user. The default user is nobody.

-U umask

Set the umask for newly created files. Without -p, the default is 0. With -p, it is inherited from the calling process.


Increase verbosity. Specify multiple times for greater verbosity.


Print version and configuration information, and exit.

Przykłady tftpd działanie w Słownik polecenie T