開心生活站

位置:首頁 > IT科技 > 

linux,tftp命令詳解

IT科技2.72W

tftp命令用於傳輸文件。ftp讓用戶得以下載存放於遠端主機的文件,也能將文件上傳到遠端主機放置。

語法:tftp [主機名稱或IP地址]

參考例子:

連接遠程服務器”xxxx.xx.xxx.xx″:

[root@linux265 ~]# tftp xxxx.xx.xxx.xx

遠程下載file文件:

tftp> get file                             getting from xxxx.xx.xxx.xx to /dir   Recived 168236 bytes in 1.5 seconds[112157 bit/s] 

退出tftp:

tftp> quit     

linux tftp命令詳解

參數:

connect 連接到遠程tftp服務器 

mode 文件傳輸模式 

put 上傳文件 

get 下載文件 

quit 退出 

標籤:linux 命令 tftp