Linux smbd Command
The Linux smbd command is used for the Samba server program.
smbd is a Samba server program that can share network resources such as files and printers for access by Windows-related client programs.
Syntax
smbd [-aDhoP][-d<排错层级>][-i<范围>][-l<记录文件>][-O<连接槽选项>][-p<连接端口编号>][-s<配置文件>]
Parameter Description:
- -a All connection records will be added to the log file.
- -d<debug level> Specify the level of detail of events recorded in the log file.
- -D When this parameter is used, smbd will run in the background as a service program.
- -h Display help.
- -i<scope> Specify the scope of the NetBIOS name.
- -l<log file> Specify the name of the log file.
- -o Overwrite the original log file each time it starts.
- -O<connection socket options> Set connection socket options.
- -p<port number> Set the connection port number.
- -P Only used to test the correctness of the smbd program.
- -s<configuration file> Specify the smbd configuration file.
Examples
Start Samba server
# smbd -DOther Extensions
Linux Command Reference