在 ~/.bashrc 末尾添加:
echo "Did you know that:"; whatis $(ls /bin | shuf -n 1)
每次打開終端隨機顯示一條命令簡介。進階版配合 cowsay:
sudo apt-get install cowsay # Debian/Ubuntu
yum install cowsay # CentOS/RHEL
# .bashrc 追加:
cowsay -f $(ls /usr/share/cowsay/cows | shuf -n 1 | cut -d. -f1) $(whatis $(ls /bin) 2>/dev/null | shuf -n 1)

在任意命令前加 whatis 獲取一行摘要:
whatis sudo yum install cheese

man <command>:完整手冊,支持搜索/翻頁 (q 退出)<command> --help 或 -h:快速查看用法摘要,直接輸出終端
[sudo] program [arg...] [option...] [--flag[=value]...]
sudo:需要 root 權限時前綴,輸入密碼後提權執行program:可執行程序名 (/usr/bin, /bin 等 PATH 目錄下)arg:位置參數(如 cp src dst 中的 src/dst)option:短選項 (-l)、長選項 (--list),可帶值 (-o file)flag:布爾開關 (-v, --verbose)sudo yum install cheese -y
# sudo : 提權
# yum : 程序 (包管理器)
# install: 子命令/位置參數
# cheese : install 的參數 (包名)
# -y : flag (自動答 yes)
man、--help、tldr、cheat.sh 等即時查閱工具。ls, cd, cp, mv, rm, grep, find, tar, ssh, systemctl)。