Skip to content

Instantly share code, notes, and snippets.

@LuckyBoyE14
Last active November 7, 2020 20:02
Show Gist options
  • Select an option

  • Save LuckyBoyE14/d45202e6c2268c10c2a94a6f41ec6fb0 to your computer and use it in GitHub Desktop.

Select an option

Save LuckyBoyE14/d45202e6c2268c10c2a94a6f41ec6fb0 to your computer and use it in GitHub Desktop.
Подключение к шаре windows через cifs-utils
#!/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