工具
这里记录一些平时收集的一些工具或有趣的东西
有趣的工具
2048-cli
终端中的 2048
dnf install 2048-cliMapSCII
在终端显示世界地图
https://www.ostechnix.com/mapscii-world-map-terminal/
telnet mapscii.meneofetch
命令行系统信息工具
https://github.com/dylanaraps/neofetch
apt-get update
apt-get install -y neofetch
neofetchstar war
一段 22 分钟长的 ASCII 动画
http://www.asciimation.co.nz/
nyancat
终端中的 Nyancat
https://github.com/klange/nyancat
yes
yes命令在命令行中输出指定的字符串,直到yes进程被杀死。不带任何参数输入yes命令默认的字符串就是y。
lolcat
彩色输出
https://github.com/busyloop/lolcat
各种shell
fish
一个挺好用的 shell 环境
https://github.com/fish-shell/fish-shell
oh-my-zsh
https://github.com/robbyrussell/oh-my-zsh
themes
https://github.com/robbyrussell/oh-my-zsh/wiki/themes
下载完放置在 ~/.oh-my-zsh/themes 目录目录下,并在配置文件 .zshrc 中进行指定.
powerline-shell
增强美化 shell 的工具
https://github.com/b-ryan/powerline-shell
依赖 python 环境
pip install powerline-shell
fish
starship
轻量级、反应迅速,可定制的高颜值终端!
将初始化脚本添加到您的 shell 的配置文件
mosh
使用 UDP 传输的 Shell
系统信息
duf
显示磁盘使用状态
https://github.com/muesli/duf
glances
top/htop 的替代品
https://github.com/nicolargo/glances
inxi
显示系统和硬件信息
btop
https://github.com/aristocratos/btop
网络测试调试
BestTrace
路由跟踪程序
Fast
Fast 是 Netflix 提供的服务。它的网址是 Fast.com,同时它有一个可通过 npm 安装的命令行工具:
httpie
命令行下的 HTTP 客户端
https://github.com/jakubroztocil/httpie
iPerf
iPerf 是测试网速的工具
安装完成后,你需要在同一网络上的两台计算机上使用它(两台都必须安装 iPerf)。指定其中一台作为服务器。
在服务端启动 iperf
它会等待来自客户端的传入连接。将另一台计算机作为为客户端并运行此命令
只需几秒钟即可完成测试,然后返回传输大小和计算出的带宽。
speedtest-cli
Speedtest.net 提供一个命令行版本——speedtest-cli,能够在终端中简单快速的测试出 linux 的网速
https://github.com/sivel/speedtest-cli
或
gping
图形化的 ping 工具
nethogs
查看每个进程流量
ab
ab 是 apache 的压力测试工具
安装
wrk
压测工具
https://github.com/wg/wrk
websocat
nc 的 WebSocket 版
https://github.com/vi/websocat
模拟器
mono
格式处理
base64
这个傻逼工具会默认每 76 个字符换行,格式化输出,用 -w 0 关闭
expand
将 TAB 转换为空格
unexpand
将空格转换为 TAB
sttr
cross-platform, cli app to perform various operations on string
https://github.com/abhimanyu003/sttr
seq
seq 命令用于生成某个范围内的整数
seq [选项]... [首数] [增量] 尾数
choose
cut 命令的替代品, 用来选中指定的栏位。
https://github.com/theryangeary/choose
csvtk
命令行下处理 CSV/TSV格式
https://github.com/shenwei356/csvtk
dsq
一个命令行工具,可以对 JSON、CSV、Excel 等格式的文件执行 SQL 查询语句。
https://github.com/multiprocessio/dsq
yq
像 jq 一样对 yaml,json,xml 使用 yq
https://github.com/mikefarah/yq
XML
xmllint
解析 xml 格式
xpath
解析 xml 格式
JSON
jq
该工具帮助阅读 json 格式的数据
相关教程
https://justcode.ikeepstudying.com/2018/02/shell%EF%BC%9A%E6%97%A0%E6%AF%94%E5%BC%BA%E5%A4%A7%E7%9A%84shell%E4%B9%8Bjson%E8%A7%A3%E6%9E%90%E5%B7%A5%E5%85%B7jq-linux%E5%91%BD%E4%BB%A4%E8%A1%8C%E8%A7%A3%E6%9E%90json-jq%E8%A7%A3%E6%9E%90-json/
https://mozillazg.com/2018/01/jq-use-examples-cookbook.html
https://www.jianshu.com/p/6de3cfdbdb0e
在线调试
https://jqplay.org/
jo
生成json格式数据的小工具
https://github.com/jpmens/jo
jd
json 比较工具
https://github.com/josephburnett/jd
gron
json 数据格式化
https://github.com/TomNomNom/gron
jless
命令行的json查看工具
https://jless.io/
html
htmlq
像 jq 一样对 html 使用 yq
https://github.com/mgdm/htmlq
图像视频
imcat
在终端显示任何图片
https://github.com/stolk/imcat
Termtosvg
将你在 Linux 终端中操作录制成 SVG 动画
gimp
GIMP(全称 Gnu 图像处理程序)是一款免费的、跨平台的开源图像处理程序。
asciinema
zbarimg
命令行解析二维码
montage
将多个小图片拼成一张图
gaps
修复、还原图片
提高生产力
bc
任意精度计算器
rlwrap
解决各类 shell 中无法上下左右的问题
trash-cli
回收站的命令行界面
https://github.com/andreafrancia/trash-cli
tr
命令行届的翻译
xclip
在 Linux 命令行中复制粘贴
hexyl
命令行十六进制查看器
DeepL
非常好用的翻译软件
translate-shell
anew
https://github.com/tomnomnom/anew
ranger
linux 文件管理工具 ranger, 具有 Vim 式的操作方式.
使用 ranger --copy-config=all 将在 ~/.config/ranger 中生成一系列配置文件, 其中 ranger 主要有 4 个配置文件.
rc.conf 常用于设置选项和绑定快捷键.(最常用)
scope.sh 常用于设置文件的预览方式.
rifle.conf 常用于设置使用那个软件来打开文件.
commands.py python 文件, 增强和改进 ranger 的各种功能.
exa
ls 的替代品
https://github.com/ogham/exa
broot
类似 ranger 的树形图目录查看工具
https://github.com/Canop/broot
bat
cat 的替代品
定时任务
https://github.com/dshearer/jobber
https://github.com/rundeck/rundeck
https://github.com/shunfei/cronsun
辅助
wait-for
监测服务是否可用
https://github.com/eficode/wait-for
wait-for-it
监测服务是否可用
https://github.com/vishnubob/wait-for-it
yes
帮你自动回答命令行提示
usql
多合一命令行下数据库管理工具
https://github.com/xo/usql
croc
Easily and securely send things from one computer to another
https://github.com/schollz/croc
A : send file
B : receive file
magic-wormhole
get things from one computer to another, safely
https://github.com/magic-wormhole/magic-wormhole
fq
jq for binary formats