mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 23:02:21 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/testparm
Normal file
21
tldr/testparm
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# testparm
|
||||
|
||||
> Check a Samba configuration file for internal correctness.
|
||||
> More information: <https://manned.org/testparm>.
|
||||
|
||||
- Check `/etc/samba/smb.conf` for correctness:
|
||||
|
||||
`testparm`
|
||||
|
||||
- Check a specific configuration file for correctness:
|
||||
|
||||
`testparm {{path/to/file}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`testparm {{[-?|--help]}}`
|
||||
Reference in New Issue
Block a user