Last active
November 7, 2020 20:02
-
-
Save LuckyBoyE14/d45202e6c2268c10c2a94a6f41ec6fb0 to your computer and use it in GitHub Desktop.
Подключение к шаре windows через cifs-utils
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
| #!/bin/bash | |
| # Команда монтирует удаленную шару windows | |
| sudo umount /mnt/my_folder | |
| sudo mkdir -p /mnt/my_folder | |
| sudo mount -t cifs -o username=USER_NAME,domain=WORKGROUP,uid=1000,gid=1000 //IP_ADDR/server /mnt/my_folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment