Linux指令积累

来源:互联网 发布:royce巧克力淘宝假货 编辑:程序博客网 时间:2024/05/21 19:50

 

将前面的输出作为后面命令的参数的方法(2种)

find / -name ".bash*" -execls {} -al";"| grep bash 

 

find / -name ".bash*" | xargs ls -al


"apt-get install lftp" or "apt-get install lftp-ssl", i compiled it myself from lftp.yar.ru

lftp上传&下载文件夹(只能使用lftp)

connect to your ftp and input the command:
mirror -R <the local dirname>
this will upload the whole directory.
上传整个文件夹:mirror -R 本地文件夹

or type this:
mirror <the remote dirname> <the local dirname>
this will download the whole directory.
 下载整个文件夹:mirror 远端文件夹 本地文件夹

原创粉丝点击