摘自: 被阅读次数: 456
由 yangyi 于 -08-14 23:04:17 提供
# rpm -q samba-client
samba-client-3.0.28-0.el5.8
# smbclient -L 192.168.0.7 -U Administrator
Password:
Domain=[BBC8D75B6BD34FE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
E$ Disk 默认共享
IPC$ IPC 远程 IPC
D$ Disk 默认共享
print$ Disk 打印机驱动程序
SharedDocs Disk
ZJDocument Disk
临时文件交流 Disk
HPLaserJ Printer HP LaserJet 3200 Series PCL
公共文档 Disk
本地磁盘 (G) Disk
vs Disk
F$ Disk 默认共享
ADMIN$ Disk 远程管理
C$ Disk 默认共享
soft Disk
session request to 192.168.0.7 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[BBC8D75B6BD34FE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
# ls
anaconda-ks.cfg install.log install.log.syslog mbox
# smbclient //192.168.0.7/soft -U Administrator
Password:
Domain=[BBC8D75B6BD34FE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \> ls
. D 0 Tue Jun 23 02:26:16
.. D 0 Tue Jun 23 02:26:16
Adobe_Reader_9_1.exe A 44910072 Wed May 27 13:43:46
cento2s5VM D 0 Wed Feb 4 09:14:29
CLSDS-3[1].1.doc A 80896 Tue Sep 4 20:55:56
Convert all SWFs to JPG.vbs A 1045 Mon May 4 16:54:16
data D 0 Mon May 18 19:37:21
driver D 0 Fri Aug 29 00:27:16
ex070117.log A 1698385454 Thu Jan 18 08:00:02
ex070118.log A 1680195444 Fri Jan 19 08:00:02
ex070119.log A 1674275535 Sat Jan 20 08:00:02
MySQL5.1中文手册.chm A 4648580 Tue Jul 1 16:17:02
PureCodec0126.exe A 68565499 Tue Apr 28 15:40:57
system D 0 Tue Jun 9 02:33:40
t41 D 0 Sun Apr 6 11:57:00
TrueImageES-v9.1 D 0 Tue Jun 23 02:25:42
vb60_full D 0 Tue Apr 14 13:37:45
zojiaoxpsp2.ISO A 2437634048 Fri Aug 3 18:17:25
新建 文本文档.txt A 94 Mon Dec 31 18:21:07
系统备份 D 0 Mon May 18 19:40:18
44994 blocks of size 4194304. 9890 blocks available
smb: \> get MySQL5.1中文手册.chm /mnt/MySQL5.1.chm
getting file \MySQL5.1中文手册.chm of size 4648580 as /mnt/MySQL5.1.chm (7681.3 kb/s) (average 7681.3 kb/s)
smb: \> q
# cd /mnt
# ls
MySQL5.1.chm
#
# mount -t cifs -o username=baiyuan,password=baiyuan //192.168.0.7/soft /mnt
# cd /mnt
# ls
Adobe_Reader_9_1.exe cento2s5VM
MySQL5.1中文手册.chm 常规应用
CLSDS-3[1].1.doc PureCodec0126.exe 技术开发
Convert all SWFs to JPG.vbs system 播客安装教linux.doc
data t41 新建 文本文档.txt
driver TrueImageES-v9.1 系统备份
ex070117.log vb60_full
ex070118.log zojiaoxpsp2.ISO
# ll
原文链接: /admi...
如果觉得《linux系统访问Windows文件共享(转0》对你有帮助,请点赞、收藏,并留下你的观点哦!