Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the tftp command in Linux

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use the tftp command in Linux. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Linux commonly used command tftp command is used to transfer files, FTP allows users to download files stored in the remote host, but also upload the file to the remote host for placement. Tftp is a simple text mode ftp program that uses instructions similar to FTP.

Syntax tftp [host name or IP address] operation instructions:

Connect: connecting to a remote tftp server

Mode: file transfer mode

Put: uploading files

Get: downloading files

Quit: exit

Verbose: displays detailed processing information

Trace: displays the package path

Status: displays current status information

Binary: binary transfer mode

Ascii:ascii transfer mode

Rexmt: sets the timeout for packet transmission

Timeout: sets the timeout for retransmission

Help: help information

?: help information

The instance connects to the remote server "218.28.188.288", and then uses the put command to download the file "README" in the root directory. You can use the following command:

Tftp 218.28.188.288 # after connecting to the remote server and connecting to the server, you can take appropriate actions as follows:

$tftp 218.28.188.228 # Connect to a remote server tftp >? , refer to help Commands may be abbreviated. Commands are: # help command list connect connect to remote tftp mode set file transfer mode put send file get receive file quit exit tftp verbose toggle verbose mode trace toggle packet tracing status show current status binary set mode to octet ascii set mode to netascii rexmt set per-packet retransmission timeout timeout set total retransmission timeout? Print help information tftp > get README # remote download README file getting from 218.28.188.288 to / home/cmd Recived 168236 bytes in 1.5 seconds [112157 bit/s] tftp > quit # leave tftp this article on "how to use tftp commands in Linux" is shared here. I hope the above content can be of some help to you. So that you can learn more knowledge, if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report