博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Fedora 17/Linux如何通过samba挂载windows共享
阅读量:4177 次
发布时间:2019-05-26

本文共 351 字,大约阅读时间需要 1 分钟。

测试环境:

[root@tp ~]# uname -a

Linux tp 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

挂载方法:

1. 直接通过smbclient登陆上去,这个方法不能下载目录:

smbclient //192.168.0.123/share -U administrator

get 单个文件

mget 多个文件

2. 把windows共享挂载到本机,可以通过cp直接复制目录:

mount -t cifs //192.168.0.123/share -o username=administrator /mnt

cp /mnt/* . -Rp 可复制目录

转载地址:http://fjtai.baihongyu.com/

你可能感兴趣的文章
内核线程创建
查看>>
linux中cat命令使用详解
查看>>
java中的异常机制
查看>>
商务智能-基本方法-数据钻取
查看>>
C++程序员技术需求规划(发展方向)
查看>>
最大乘积
查看>>
最长公共子串
查看>>
codeforces831c 思维
查看>>
CodeForces - 785C Anton and Fairy Tale
查看>>
CodeForces - 831D Office Keys
查看>>
hdu 1258 确定比赛名次
查看>>
hdu 3342 拓扑,是否存在环
查看>>
poj 1860 拓扑。。
查看>>
poj 2553 The Bottom of a Graph 未完
查看>>
inux下如何统计一个目录下的文件个数以及代码总行数(转)
查看>>
Linux下 虚拟机Bochs的使用
查看>>
glib-读取配置文件
查看>>
SonarQube 静态代码检查的安装
查看>>
嵌入式Linux驱动开发的知识图谱
查看>>
Algorithm 4th environment setup
查看>>