Skip to content

Instantly share code, notes, and snippets.

@CarlRevell
Last active January 1, 2016 18:28
Show Gist options
  • Save CarlRevell/8183597 to your computer and use it in GitHub Desktop.
Save CarlRevell/8183597 to your computer and use it in GitHub Desktop.
Mounts a Windows share on CentOS. You can exclude the password= and it will prompt for the password.
mount -t cifs //ntserver/share -o username=bobM,password=myPassword /mnt/ntserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment