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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In