How to access windows share from linux (Demo)

Опубликовано: 01 Декабрь 2021
на канале: Tech for All
8,514
56

in this video we will see a demo of how to share a folder on windows and then access from a centos linux machine.

commands you need to use:

ping 192.168.1.37 --------------- (ping the windows machine from linux)

sudo yum -y install samba-client samba-common cifs-utils

sudo mkdir -p /mnt/mount_name

smbclient L //windows_machine -U user ---------- test connectivity

cd /mnt/mount_name

sudo mount.cifs //windows_machine/mount_name /mnt/mount_name-o rw,username=user,file_mode=0777,dir_mode=0777

df k ------------ check to see if it is mounted

sudo umount /mnt/mount_name ---------- to unmount the CIFS share

my contacts

Email: [email protected]
FB :   / moh.mi.dz  


Смотрите видео How to access windows share from linux (Demo) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech for All 01 Декабрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,514 раз и оно понравилось 56 людям.