Host services

smbclient -L //<nas> -N

List a NAS's shares over SMB (TCP 445). 'smbclient //<nas>/<share> -N -c 'put <file>'' stores a file on it; '-c ls' lists the share.

Works on: PC, Server, Printer, NASMode: shell

Example

PC1# smbclient //10.0.0.30/public -N -c 'put notes.txt'
Run this command live

Don't just read it — type smbclient -L //<nas> -N 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 "smbclient -L //<nas> -N" command do?

List a NAS's shares over SMB (TCP 445). 'smbclient //<nas>/<share> -N -c 'put <file>'' stores a file on it; '-c ls' lists the share.

Example of "smbclient -L //<nas> -N"

PC1# smbclient //10.0.0.30/public -N -c 'put notes.txt'

More Host services commands

← Back to the full command reference