mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
635 B
Plaintext
26 lines
635 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# nms
|
|
|
|
> Tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers from `stdin`.
|
|
> More information: <https://github.com/bartobri/no-more-secrets>.
|
|
|
|
- Decrypt text after a keystroke:
|
|
|
|
`echo "{{Hello, World!}}" | nms`
|
|
|
|
- Decrypt output immediately, without waiting for a keystroke:
|
|
|
|
`{{ls -la}} | nms -a`
|
|
|
|
- Decrypt the content of a file, with a custom output color:
|
|
|
|
`cat {{path/to/file}} | nms -a -f {{blue|white|yellow|black|magenta|green|red}}`
|
|
|
|
- Clear the screen before decrypting:
|
|
|
|
`{{command}} | nms -a -c`
|