linux簡單好用的ftp技術

最近幾年linux的圖形化有了很大的一個進步,linux命令行雖依然還是他的精髓,但是圖形界面確實有的獨特的好處。我的linux觀念也從命令行開始轉變到,只要能即快又好的把活幹好就行了。

下面小解幾個linux常用ftp客戶端的工具:

  1. 命令行:

在命令行中ftp命令夠資格,很實在。但是他不支持TAB自動補齊,這很讓人頭大。

那有沒一個能補齊的工具呢?他就是lftp、在衆多的發行版的iso中都有該軟件。
用法:

[root@localhost ~]# yum search lftp

……………………..省略不分信息

lftp-scripts.noarch : Scripts for lftp

lftp.i686 : A sophisticated file transfer program

[root@localhost ~]# rpm -qa |grep lftp ##查看是否安裝,如果沒有安裝,mount光盤、rpm –ivh安裝即可

lftp-4.0.9-1.el6.i686

[root@localhost ~]# lftp 192.168.3.200 ##連接服務器

[root@localhost ~]#lftp 192.168.3.200:/> ? ##查看lftp能使用的命令

!<shell-command> (commands)

alias [<name> [<value>]] bookmark [SUBCMD] cache [SUBCMD]

cat [-b] <files> cd <rdir>

chmod [OPTS] mode file... close [-a]

[re]cls [opts] [path/][pattern] debug [<level>|off] [-o <file>] du [options] <dirs>

exit [<code>|bg] get [OPTS] <rfile> [-o <lfile>]

glob [OPTS] <cmd> <args> help [<cmd>]

history -w file|-r file|-c|-l [cnt] jobs [-v] kill all|<job_no>

lcd <ldir> lftp [OPTS] <site> ls [<args>]

mget [OPTS] <files> mirror [OPTS] [remote [local]] mkdir [-p] <dirs>

module name [args] more <files> mput [OPTS] <files>

mrm <files> mv <file1> <file2> [re]nlist [<args>]

open [OPTS] <site> pget [OPTS] <rfile> [-o <lfile>]

put [OPTS] <lfile> [-o <rfile>] pwd [-p] queue [OPTS] [<cmd>]

quote <cmd> repeat [OPTS] [delay] [command] rm [-r] [-f] <files>

rmdir [-f] <dirs> scache [<session_no>]

set [OPT] [<var> [<val>]] site <site_cmd> source <file>

torrent [-O <dir>] <file> user <user|URL> [<pass>] version

wait [<jobno>] zcat <files> zmore <files>

常用的幾個:

!<shell-command> ##使用linux shell的命令

cd <rdir> ##進入ftp服務器的目錄

torrent [-O <dir>] <file> ##斷點續傳

put上傳、get下載、mput上傳多個文件、mget下載多個文件、rmdir刪除目錄、退出用bye等。

  1. 圖形界面:

(1)圖形界面位置下的“連接到服務器”功能:

clip_image002

點擊進入以下界面:

clip_image004

(2)選擇需要連接的ftp類型進入以下界面:輸入ftp服務器的信息點擊連接

clip_image006

clip_image008

接下來會打開ftp服務器界面並在桌面產生以下圖標:

雙擊能打開、直到卸載爲止。

clip_image010

2.FileZilla客戶端:

[root@localhost 下載]# ls FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2 ##下載的軟件

FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2

[root@localhost 下載]# tar jxvf FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2 -C /usr/local/ ##解壓縮並釋放

[root@localhost 下載]# cd /usr/local/FileZilla3/bin/ ##進入filezilla的程序目錄

[root@localhost bin]# ln -s /usr/local/FileZilla3/bin/filezilla /root/桌面 ##在root的桌面添加快捷方式,注意寫絕對路徑

在root的桌面會產生下圖:

clip_image012

雙擊打開後如下圖:

clip_image014

輸入ftp服務器信息鏈接即可、鼠標拖拽,很方便。

不要貪多夠用就行,在linux下這幾個夠用!!

have a nice day!!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章