有趣的命令

1.查看天气的网站,“/”后节城市或国家,如 singapore 、shenzhen 等。

1
curl wttr.in/shenzhen
显示天气
  1. 查看文件变化“fswatch .”,使用前要安装此命令
1
brew install fswatch
  1. 生成随机密码。
1
openssl rand -base64 20
  1. 快速生成二维码
    安装命令。
1
brew install qrencode

生成二维码。

1
qrencode -t ANSIUTF8 "https://openai.com"
  1. 让终端说话。
1
say "Hello Tony"
1
say -v Ting-Ting "你好"