mac 终端常用指令

2022-06-26  本文已影响0人  CentForever

md5

usage: md5 [-pqrtx] [-s string] [files ...]


image.png

openssl enc -aes-256-cbc

openssl enc aes-256-cbc -e -salt -pbkdf2 -iter 10000 -in plaintextfilename -out encryptedfilename

openssl enc aes-256-cbc -d -salt -pbkdf2 -iter 10000 -in encryptedfilename -out plaintextfilename
image.png
image.png

base64

❯ echo mgg | base64
bWdnCg==
~/Downloads ❯ echo bWdnCg==                                system 16:18:17
_p9k_deschedule_redraw:zle:2: No handler installed for fd 14
_p9k_deschedule_redraw:3: failed to close file descriptor 14: bad file descriptor
❯ echo bWdnCg== | base64 -D
mgg

imgcat

pip install imgcat
imgcat lxz.jpg
image.png

imagemagick

brew install imagemagick
brew reinstall --cask xquartz
display bird.jpg
上一篇下一篇

猜你喜欢

热点阅读