mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:55:56 +02:00
sm: add page (#2529)
This commit is contained in:
parent
a365369bad
commit
960a3676bc
1 changed files with 27 additions and 0 deletions
27
pages/linux/sm.md
Normal file
27
pages/linux/sm.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# sm
|
||||
|
||||
> Displays a short message fullscreen.
|
||||
|
||||
- Display a message fullscreen:
|
||||
|
||||
`sm {{Hello World!}}`
|
||||
|
||||
- Display a message with inverted colors:
|
||||
|
||||
`sm -i {{Hello World!}}`
|
||||
|
||||
- Display a message with a foreground color:
|
||||
|
||||
`sm -f {{blue}} {{Hello World!}}`
|
||||
|
||||
- Display a message with a background color:
|
||||
|
||||
`sm -b {{#008888}} {{Hello World!}}`
|
||||
|
||||
- Rotate the displayed message by n times 90 degrees:
|
||||
|
||||
`sm -r {{3}} {{Hello World!}}`
|
||||
|
||||
- Pipe a message to sm:
|
||||
|
||||
`{{echo Hello World!}} | sm -`
|
Loading…
Add table
Reference in a new issue