mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 12:55:31 +00:00
Update cheatsheets
This commit is contained in:
41
cupsd
Normal file
41
cupsd
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cupsd
|
||||
|
||||
> Server daemon for the CUPS print server.
|
||||
> More information: <https://openprinting.github.io/cups/doc/man-cupsd.html>.
|
||||
|
||||
- Start `cupsd` in the background, aka. as a daemon:
|
||||
|
||||
`cupsd`
|
||||
|
||||
- Start `cupsd` on the [f]oreground:
|
||||
|
||||
`cupsd -f`
|
||||
|
||||
- [l]aunch `cupsd` on-demand (commonly used by `launchd` or `systemd`):
|
||||
|
||||
`cupsd -l`
|
||||
|
||||
- Start `cupsd` using the specified [`c`]`upsd.conf` configuration file:
|
||||
|
||||
`cupsd -c {{path/to/cupsd.conf}}`
|
||||
|
||||
- Start `cupsd` using the specified `cups-file`[`s`]`.conf` configuration file:
|
||||
|
||||
`cupsd -s {{path/to/cups-files.conf}}`
|
||||
|
||||
- [t]est the [`c`]`upsd.conf` configuration file for errors:
|
||||
|
||||
`cupsd -t -c {{path/to/cupsd.conf}}`
|
||||
|
||||
- [t]est the `cups-file`[`s`]`.conf` configuration file for errors:
|
||||
|
||||
`cupsd -t -s {{path/to/cups-files.conf}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`cupsd -h`
|
||||
Reference in New Issue
Block a user