mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 12:58:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -9,22 +9,22 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Part of `util-linux`.
|
||||
> More information: <https://manned.org/tunelp>.
|
||||
|
||||
- Check the [s]tatus of a parallel port device:
|
||||
- Check the status of a parallel port device:
|
||||
|
||||
`tunelp --status {{/dev/lp0}}`
|
||||
`tunelp {{[-s|--status]}} {{/dev/lp0}}`
|
||||
|
||||
- [r]eset a given parallel port:
|
||||
- Reset a given parallel port:
|
||||
|
||||
`tunelp --reset {{/dev/lp0}}`
|
||||
`tunelp {{[-r|--reset]}} {{/dev/lp0}}`
|
||||
|
||||
- Use a given [i]RQ for a device, each one representing an interrupt line:
|
||||
- Use a given IRQ for a device, each one representing an interrupt line:
|
||||
|
||||
`tunelp -i 5 {{/dev/lp0}}`
|
||||
`tunelp {{[-i|--irq]}} 5 {{/dev/lp0}}`
|
||||
|
||||
- Try a given number of times to output a [c]haracter to the printer before sleeping for a given [t]ime:
|
||||
- Try a given number of times to output a character to the printer before sleeping for a given time:
|
||||
|
||||
`tunelp --chars {{times}} --time {{time_in_centiseconds}} {{/dev/lp0}}`
|
||||
`tunelp {{[-c|--chars]}} {{times}} {{[-t|--time]}} {{time_in_centiseconds}} {{/dev/lp0}}`
|
||||
|
||||
- Enable or disable [a]borting on error (disabled by default):
|
||||
- Enable or disable aborting on error (disabled by default):
|
||||
|
||||
`tunelp --abort {{on|off}}`
|
||||
`tunelp {{[-a|--abort]}} {{on|off}}`
|
||||
|
||||
Reference in New Issue
Block a user