mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 14:15:33 +02:00
setserial: add page (#9291)
This commit is contained in:
parent
e6d261b8a9
commit
fabd81e9f6
1 changed files with 20 additions and 0 deletions
20
pages/linux/setserial.md
Normal file
20
pages/linux/setserial.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# setserial
|
||||||
|
|
||||||
|
> Read and modify serial port information.
|
||||||
|
> More information: <https://manned.org/setserial>.
|
||||||
|
|
||||||
|
- Print all information about a specific serial device:
|
||||||
|
|
||||||
|
`setserial -a {{/dev/cuaN}}`
|
||||||
|
|
||||||
|
- Print the configuration summary of a specific serial device (useful for printing during bootup process):
|
||||||
|
|
||||||
|
`setserial -b {{device}}`
|
||||||
|
|
||||||
|
- Set a specific configuration parameter to a device:
|
||||||
|
|
||||||
|
`sudo setserial {{device}} {{parameter}}`
|
||||||
|
|
||||||
|
- Print the configuration of a list of devices:
|
||||||
|
|
||||||
|
`setserial -g {{device1 device2 ...}}`
|
Loading…
Add table
Reference in a new issue