mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 09:50:35 +00:00
Update cheatsheets
This commit is contained in:
33
linux/sm
Normal file
33
linux/sm
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sm
|
||||
|
||||
> Displays a short message fullscreen.
|
||||
> More information: <https://github.com/nomeata/screen-message>.
|
||||
|
||||
- Display a message in full-screen:
|
||||
|
||||
`sm "{{Hello World!}}"`
|
||||
|
||||
- Display a message with inverted colors:
|
||||
|
||||
`sm -i "{{Hello World!}}"`
|
||||
|
||||
- Display a message with a custom foreground color:
|
||||
|
||||
`sm -f {{blue}} "{{Hello World!}}"`
|
||||
|
||||
- Display a message with a custom background color:
|
||||
|
||||
`sm -b {{#008888}} "{{Hello World!}}"`
|
||||
|
||||
- Display a message rotated 3 times (in steps of 90 degrees, counterclockwise):
|
||||
|
||||
`sm -r {{3}} "{{Hello World!}}"`
|
||||
|
||||
- Display a message using the output from another command:
|
||||
|
||||
`{{echo "Hello World!"}} | sm -`
|
||||
Reference in New Issue
Block a user