请问 ftp 中 -v,-i,-n参数都表示什么意思啊???

|

在ftp命令中使用了ftp -i -n选项,这意味着不要自动登录,而且关闭交互模式

在用shell编程时-i -n这2个参数用的比较多

-v 是把交互式的信息提示显示出来

|

man ftp

楼主够懒,纯为接分

-v     Verbose option forces ftp to show all responses from the remote server, as well as report on data trans-

fer statistics.

-n     Restrains  ftp  from  attempting  auto-login upon initial connection.  If auto-login i

s enabled, ftp

will check the .netrc (see below) file in the users home directory for an entry describing  an  account

on  the  remote machine.  If no entry exists, ftp will prompt for the remote machine login name (default

is the user identity on the local machine), and, if necessary, prompt for a password and an account with

which to login.

-i     Turns off interactive prompting during multiple file transfers.

|

楼主要补下英文了:)

linux下大部分与开发有关的资料都是英文的

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐