Created
April 7, 2025 19:27
-
-
Save rustyvz/0944689ab34c373d3f7409f3b4e69c1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install cifs-utils | |
| sudo apt install cifs-utils | |
| 2. Make a share folder. For example: | |
| sudo mkdir /media/share | |
| 3. (Optional) Put your credentials into a file: | |
| sudo nano /root/.YourCredentialsFileName | |
| password file | |
| username=Yourusername | |
| password=YourPassword | |
| 4. Mount share: | |
| sudo mount -t cifs -o rw,credentials=/root/.YourCredentialsFileName //path/to/file/to/share /media/share | |
| Or with inline credentials: | |
| sudo mount -t cifs -o rw,user=YourUserName,password=YourPassword //path/to/file/to/share /media/share |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment