mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 22:57:20 +00:00
Update cheatsheets
This commit is contained in:
25
nms
Normal file
25
nms
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# nms
|
||||
|
||||
> Command-line 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`
|
||||
Reference in New Issue
Block a user