[小技巧] mac自动生成密码的script - pwgen.sh

date
Apr 9, 2023
slug
tip-mac-script-password-gen-gen
status
Published
summary
小技巧
tags
tip
type
Post

Problem & Summary

notion image

Solution

cd ~/tmp_qh/data/bin
wget https://gist.githubusercontent.com/firexcy/75ffe0cc7707d6f5d506206b06b9dca1/raw/bb6b53425ee057304e84cc2b70f375fbc70c71b1/pwgen.sh && chmod +x pwgen.sh

brew install coreutils

# 在.zshrc中加入  
alias shuf='gshuf'



Screenshots

 
 

© Ying Bun 2021 - 2024