Browse a Samba or MS Windows share in Nautilus

This tip is submitted by RDK.

You can use Nautilus drag and drop feature to create and burn data CDs. Same way you can use Nautilus, which is the file manager for the UNIX/Linux GNOME desktop systems. Nautilus not only supports browsing local filesystems, it also provides access to FTP sites, Windows SMB shares, WebDAV servers and SFTP servers via GNOME VFS.

Nautilus supports previews of files in their icons, be they text files, images, sound or video files via thumbnailers such as Totem.

To browse your Samba or MS Windows shares open Nautilus manager, and type the following in the address bar:
smb://delta/mp3

Where,

  • delta: is a server (Samba or Windows) name
  • mp3: share name you trying to access

Browse a Samba or MS Windows share in Nautilus

If your system account (login name) is not configured properly, you may be prompted for your Windows or Samba username and password. Once you are authenticated you will be able to browse your shares.


How do I browser a samba / windows share from a command prompt?

If you don't have GUI installed but you would like to browse a samba share from a command prompt (w/o GUI) or terminal window (X-term), use smbclient command. Make sure you have the samba-client package installed.

Type the following command:
$ smbclient //delta//mp3 -U myUsername

Once authenticated you will see smb: \> prompt. Use ls and other command to browse your share. Type help at the command prompt for the commands available.
smb: \> ls
smb: \> get file.name
smb: \> help

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 9 comments… read them below or add one }

1 Sunil 01.19.07 at 12:40 am

Hi,
I have HP Integrity rx3600 server, I am trying to install RedHatEnterpriseLinux Version4 Update4, The installation hangs after the initrd.img is loaded…
The Cursor keeps on blinking…

This is what happens

Uncompressing Linux done..
Loading initrd initrd.img done…
_

There is no Error Message….

The same Media worked fine with another server rx6600,

I am able to install windows 2003 64Bit for Itanium Version on the same server.
What might be the problem…

2 Atul 04.25.07 at 12:57 pm

Thanks

Really this get helpful me. If someone having notes or other things regarding linux can send. Bcoz im learning the linux.

Thnks
AtulG

3 vivek 04.25.07 at 1:39 pm

Atul,

Glad to know you are learning Linux :D

Use search facility to search our site for more tips or you can join our forum to ask more questions :)

4 Deepu D 05.11.07 at 8:04 am

Accessing windows share from linux command line is very helpful.
Thanks you very much for this info

5 Pawan 09.01.07 at 12:10 pm

Can u please help me out hot to configure Squid Proxy step by step ….

6 arslan rasheed 03.24.09 at 10:53 am

kindly informe me clearly that how to access windows and from where i can get samba?kindly informe me in detail as i am a new about linux.i have installed both linux(fedora 10)and windows on my PC

7 Vivek Gite 03.24.09 at 11:12 am

Use yum command to install samba.
yum search samba
yum install package-name
yum install samba

8 sebastien retail 03.25.09 at 3:31 pm

thanks for the tip , still, remember mp3 is ‘ugly’ in linux world- use ogg!

9 Sanjay 05.15.09 at 3:38 pm

How can I search for windows shares in my network?

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: FreeBSD setup Internet connections sharing with NAT firewall

Next post: Lighttpd install perl, mysql support in chrooted jail