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.3 -U mjuffs # create a directory and move into it mkdir slickhouse cd slickhouse # copy the contents of a share into the directory smbclient //10.7.7.3/Shared -U mjuffs -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: Wednesday 16th September 2026, 11:24pm
There are 0 comments
Comments are currently closed.