| SMBUTIL(1) | General Commands Manual | SMBUTIL(1) |
smbutil —
interface to the SMB requester
smbutil |
[-hv] command
[-options]
[args] |
The smbutil command is used to control SMB
requester and issue various commands.
There are two types of options — global and local to the specified command.
Global options are as follows:
The commands and local options are:
help
commandlookup
[-w host]
[-t node_type]
[-e] name-w
option. The NetBIOS name type can be specified via the
-t, the default is to lookup file servers. For a
complete list of name types please see
"http://support.microsoft.com/kb/163409". The NetBIOS names will
be unpercent escaped out if the -e option is
specified.status
[-ae] hostname-a option is specified. All NetBIOS names will
be percent escaped out if the -e option is
specified.view
[-options]
//[domain;][user[:password]@]serverThe options are as follows:
identity
[-N]
//[domain;][user[:password]@]server-N option is specified.dfs
smb://[domain;][user[:password]@]server/DfsRoot[/DfsLink]-m is specified, it prints the attributes of
the share mounted at mount_path. If
-a is specified, it prints the attributes of all
mounted shares. You can not specify both -m and
-a together since they are mutually exclusive.
-f controls the output
format. If -f is not
specified then human readable format is used. Supported formats are:
Json.multichannel
[-m mount_path |
-a]
[-options]
[-f format]-m is specified, it prints the multichannel
attributes of the share mounted at mount_path. If
-a is specified, it prints the multichannel
attributes of all mounted shares. You can not specify both
-m and -a together since
they are mutually exclusive. -f controls the
output format. If -f is not
specified then human readable format is used. Supported formats are: Json.
The options are as follows:
-i-c-s-xIf no option is given, then all options will be shown.
snapshot
[-m mount_path |
-a] [-f
format]-m is specified, it prints out a list of
snapshots for the item at the path of mount_path. If
-a is specified, it prints the snapshots of all
mounted shares. You can not specify both -m and
-a together since they are mutually exclusive.
-f controls the output
format. If -f is not
specified then human readable format is used. Supported formats are:
Json.smbstat
[-f format]
path_to_item-f is not
specified then human readable format is used. Supported formats are:
Json.Boris Popov ⟨bp@butya.kz⟩, ⟨bp@FreeBSD.org⟩
Please report any bugs to Apple.
| February 14, 2000 | macOS 15.6 |