How do I mount a Samba share from a terminal window or X-term?

Updated -

You can mount a Samba share with the following command:

mount -t smbfs -o username=[username],password=[password] //servername/share /mount/point

The -t smbfs denotes a Samba file system type, -o passes the username and password of a user with access to the //servername/share Samba share. This will be mounted on the local sy...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.