Linux command
net 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List shares on server
net share
List sessions
net session
View user info
net user [username]
Join domain
net ads join -U [admin]
Map network drive
net use [Z:] [\\\\server\\share]
Show workgroup members
net rpc group members "[group]" -S [server]
说明
net is a Samba network utility. It provides Windows networking functions on Linux. The tool manages shares, users, and domains. Part of Samba suite.
参数
- share
- Manage shares.
- session
- View sessions.
- user
- User management.
- ads
- Active Directory ops.
- rpc
- RPC commands.
- --help
- Display help information.
FAQ
What is the net command used for?
net is a Samba network utility. It provides Windows networking functions on Linux. The tool manages shares, users, and domains. Part of Samba suite.
How do I run a basic net example?
Run `net share` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does share do in net?
Manage shares.