0%

命令行常用工具箱

记录一些日常会在各个方面使用的工具,熟练这些工具可以提高效率。
gnu coreutils作为出发,对每个工具进行更深入的学习。算是之前写过的Linux 常用命令合集2.0版本。

对一个工具的熟练使用分成几步:

  1. 了解用法, 列出几种常见场景
  2. 融入日常的操作中,能够帮助优化工作效率和解决问题
  3. 学习源码
  4. 自己实现和改进

欢迎留言介绍常用的工具/更好的替代

Utils
arch base64 basename cat chcon
chgrp chmod chown chroot cksum
comm cp csplit cut date
dd df dir dircolors dirname
du echo env expand expr
factor false fmt fold groups
head hostid hostname id install
join kill link ln logname
ls md5sum mkdir mkfifo mknod
mktemp mv nice nl nohup
nproc numfmt od paste pathchk
pinky pr printenv printf ptx
pwd readlink realpath rm rmdir
runcon seq shred shuf sleep
sort split stat stdbuf stty
sum tac tail tee test
timeout touch tr true truncate
tsort tty uname unexpand uniq
unlink uptime users vdir wc
who whoami yes

More

text searching, filtering and manipulation

awk

sed

find

grep

silversearcher-ag

disk manipulate

df

du

process && memory

ps

top

htop

JSON

jq

misc

GNU Stow