Host services

net usershare add <share> <path>

Create an SMB share ('net usershare list' / 'delete <share>'). A NAS ships with the share 'public'.

Works on: NASMode: shell

Example

NAS1# net usershare add projects /srv/projects
Run this command live

Don't just read it — type net usershare add <share> <path> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "net usershare add <share> <path>" command do?

Create an SMB share ('net usershare list' / 'delete <share>'). A NAS ships with the share 'public'.

Example of "net usershare add <share> <path>"

NAS1# net usershare add projects /srv/projects

More Host services commands

← Back to the full command reference