Mounting a Windows share (CIFS) from Red Hat Linux

This is a little off topic for this blog but I hope it will save somebody some time and research.  I needed to share DVD drive on a PC in order to install software on a Red Hat server for which I only had SSH access.  The forward slashes on domain/username threw me off.  Here is how to do it right the first time:

mount -t cifs //<MachineName>/<SharedFolder> /mnt/Shared -o username=<DomainName>/<username>,password=<password>

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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