首页 > 其他 > 详细

tftp常用命令

时间:2016-01-11 13:30:37      阅读:160      评论:0      收藏:0      [点我收藏+]

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

 

tftp常用命令

原文:http://www.cnblogs.com/rohens-hbg/p/5120659.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!