LinuxCommandLibrary

net

TLDR

List shares on server

$ net share
copy
List sessions
$ net session
copy
View user info
$ net user [username]
copy
Join domain
$ net ads join -U [admin]
copy
Map network drive
$ net use [Z:] [\\\\server\\share]
copy
Show workgroup members
$ net rpc group members "[group]" -S [server]
copy

SYNOPSIS

net [command] [options]

DESCRIPTION

net is a Samba network utility. It provides Windows networking functions on Linux.
The tool manages shares, users, and domains. Part of Samba suite.
net is Samba network command.

PARAMETERS

COMMAND

Net subcommand.
share
Manage shares.
session
View sessions.
user
User management.
ads
Active Directory ops.
rpc
RPC commands.
--help
Display help information.

CAVEATS

Part of Samba. Windows networking. Requires proper configuration.

HISTORY

net is part of Samba, providing Windows-compatible network operations on Unix systems.

SEE ALSO

smbclient(1), samba(1), wbinfo(1)

Copied to clipboard