#! /bin/bash
# First create a directory for mounting the windows share folder to Linux
mkdir /mnt/winshare
# Then mount it with right type and credientials
mount -t cifs -o domain=DOMAIN_NAME_OR_LOCAL_COMPUTER_NAME_IF_NOT_IN_DOMAIN,username=USER_NAME,password=PASSWORD //COMPUTER_NAME_OR_IP/SHARE_FOLDER /mnt/winshare
[Linux Shell]Access Windows Share Folder From Linux
最新推荐文章于 2024-11-20 00:02:44 发布