💾 Archived View for gemini.susa.net › linux_notes.gmi captured on 2023-01-29 at 02:48:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Mount a Samba/CIFS/SMB share on Linux

Create this script in e.g. your local ~/bin/ directory.

#!/bin/bash

echo "Mount /theserver/kevsan to /media/kevsan/mymountpoint"
sudo mount -t cifs -o uid=kevsan,username=kevsan //theserver/kevsan /media/kevsan/mymountpoint