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

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

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
10 comments… add one
  • David Aug 1, 2009 @ 4:29

    this doesn’t work. when I type it then I get a red ball with a negative symbol inside it in the address tab.

  • Sanjay May 15, 2009 @ 15:38

    How can I search for windows shares in my network?

  • sebastien retail Mar 25, 2009 @ 15:31

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

  • arslan rasheed Mar 24, 2009 @ 10:53

    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

    • 🐧 nixCraft Mar 24, 2009 @ 11:12

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

  • Pawan Sep 1, 2007 @ 12:10

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

  • Deepu D May 11, 2007 @ 8:04

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

  • 🐧 nixCraft Apr 25, 2007 @ 13:39

    Atul,

    Glad to know you are learning Linux 😀

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

  • Atul Apr 25, 2007 @ 12:57

    Thanks

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

    Thnks
    AtulG

  • Sunil Jan 19, 2007 @ 0:40

    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…

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.