Home > Linux, System Administration > Mount a shared Windows folder in Ubuntu

Mount a shared Windows folder in Ubuntu

February 26, 2010 Leave a comment Go to comments

It’s an absolute necessity to have your Windows shared folders handy in Ubuntu. First, make sure if have Samba installed. If you are not, running this command will cause no harm

sudo apt-get install smbclient smbfs

This small wonder command in itself will do the magical mounting

sudo mount -t cifs //<your windows machine ip>/<path to shared folder> -o username="user", password="password", iocharset=utf-8,codepage=unicode /home/<ubuntu user>/<mount point>

Authentication is required if your shared Windows folder is configured such. Make sure you provide the correct username and password. So, for example, if I have to mount my shared Music folder in Ubuntu:

sudo mount -t cifs //192.168.1.60/Music -o username="det j", password="******", iocharset=utf-8, codepage=unicode /home/detj/Music

If you have set write permission to your Windows folder, you can use this folder to transfer files between your computers.

Now, you can has shared folder powers in ubuntu!!

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.