Latest web development tutorials

Linux smbd command

Linux command Daquan Linux command Daquan

Linux smbd command Samba server program.

smbd program for the Samba server, you can file and printer sharing network resources for client access to Windows-related programs.

grammar

smbd [-aDhoP][-d<排错层级>][-i<范围>][-l<记录文件>][-O<连接槽选项>][-p<连接端口编号>][-s<配置文件>]

Parameter Description:

  • -a record all the connections will be added to the log file.
  • The level of detail of events -d <debug level> Specifies the log files described.
  • -D When using this parameter, smbd daemon mode will be executed in the background.
  • -h displays help.
  • -i <scope> specified range NetBIOS name.
  • -l <log file> Specifies the name of the log file.
  • When -o every start, it will overwrite the old log files.
  • -O <Connection groove Options> Settings groove connection options.
  • -p <port number> Set the connection port number.
  • -P Only used to test the correctness of the smbd program.
  • -s <configuration file> Specifies smbd settings file.

Examples

Start Samba server

# smbd -D

Linux command Daquan Linux command Daquan