Linux share (samba), how to list all shares with the path to local directory actually shared

linuxsambashareUbuntu

Is there a practical way, e.g. net command or other cli to get a list of all shares defined on a Linux server (Ubuntu distribution) listing not only the share name but also the full path to the local shared directory?
Without having to look at samba config files or user shares files.

Best Answer

No, you cant

smbclient -L 

Shows the shares, but you have to look this up in your smb.conf to find the path.

Related Topic