tftp常用命令

root@hbg:/# tftp
BusyBox v1.22.1 (2015-12-18 15:33:52 CST) multi-call binary.

Usage: tftp [OPTIONS] HOST [PORT]

Transfer a file from/to tftp server

        -l FILE Local FILE           本地文件
        -r FILE Remote FILE      远程文件
        -g      Get file               获取文件
        -p      Put file               送出文件

根据tftp的用法,都是在设备上进行操作

从本地上传一个文件到设备的用法:

tftp -g -r filename   IP        

eg:     tftp -g -r   ath.ko 192.168.1.155

从设备上取出文件到本地的用法:

tftp -l -p  filename  IP

eg:    tftp -l -p ath.ko 192.168.1.155

原文地址:https://www.cnblogs.com/rohens-hbg/p/5120659.html