Quantcast
Channel: Admins Goodies » cifs
Viewing latest article 5
Browse Latest Browse All 10

How to mount a windows administrative share on linux via samba

$
0
0

Question

I’m currently trying to mount a windows shared drive under linux.
The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I’ve been able to login and list/copy/delete files via my android phone but I’m having a problem with mounting it on a server.

The command I’m trying:
mount -t smbfs -o username=MyUsername //10.0.0.2/$D /mnt/machine_1_d

I think the problem comes from the $ sign in $D. I just can’t remember what was the fix for this. I’m sure it was something really simple but I can’t find it on the net also.

Asked by tftd

Answer

tftd,

try escaping the $ character with a \

mount -t smbfs -o username=MyUsername //10.0.0.2/\$D /mnt/machine_1_d

dc

Answered by dc5553

Viewing latest article 5
Browse Latest Browse All 10

Latest Images

Trending Articles



Latest Images