HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sm — Display a short message fullscreen. More information: <https://github.com/nomeata/screen-message>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsmshortclimorefullscreendisplaymessage
linux

Problem

How to use the sm command: Display a short message fullscreen. More information: <https://github.com/nomeata/screen-message>.

Solution

sm — Display 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|--invert]}} "{{Hello World!}}"


Display a message with a custom foreground color:
sm {{[-f|--foreground]}} {{blue}} "{{Hello World!}}"


Display a message with a custom background color:
sm {{[-b|--background]}} {{#008888}} "{{Hello World!}}"


Display a message rotated 3 times (in steps of 90 degrees, counterclockwise):
sm {{[-r|--rotate]}} {{3}} "{{Hello World!}}"


Display a message using the output from another command:
{{echo "Hello World!"}} | sm -

Code Snippets

Display a message in full-screen

sm "{{Hello World!}}"

Display a message with inverted colors

sm {{[-i|--invert]}} "{{Hello World!}}"

Display a message with a custom foreground color

sm {{[-f|--foreground]}} {{blue}} "{{Hello World!}}"

Display a message with a custom background color

sm {{[-b|--background]}} {{#008888}} "{{Hello World!}}"

Display a message rotated 3 times (in steps of 90 degrees, counterclockwise)

sm {{[-r|--rotate]}} {{3}} "{{Hello World!}}"

Context

tldr-pages: linux/sm

Revisions (0)

No revisions yet.