shell Install and access SMB shares on Linux
# update the package manager (on Ubuntu) sudo apt update # install samba sudo apt install samba whereis samba sudo apt install smbclient # list shares on a host smbclient -L 10.7.7.4 -N # create a directory and move into it mkdir slickhouse cd slickhouse # copy the contents of a share into the directory smbclient //10.7.7.4/Shared -N -c 'prompt OFF; recurse ON; cd RootFolder/SubFolderToCopy; mget *' # list contents of the directory, after the copy ls
Use to install Samba, to access SMB shares (used by Windows) on a Linux host.
Updated: Thursday 9th October 2025, 22:19am
There are 0 comments
Comments are currently closed.