linux入门学习
文章目录
1、学习链接
- Linux / Unix入门教程:7天内在线学习
- 所有命令
- linux-cmd
- 命令行的艺术
- 程序猿成长计划
- learn-c-the-hard-way-lectures
- linux 调优
- The Linux man-pages project
- man7
- TLDR pages
- An A-Z Index of the Linux command line: bash + utilities.
- Arch manual pages
- https://explainshell.com/
- https://huataihuang.gitbooks.io/cloud-atlas/content/
- https://github.com/judasn/Linux-Tutorial
- https://docs.linux-code.com/
- https://www.kancloud.cn/devops-centos/
- https://gitee.com/linjialiang/full-stack-developer/
- https://wizardforcel.gitbooks.io/llthw/content/
- https://wiki.archlinux.org
2、Linux tuning
ulimit -a
# 使用netstat 命令查看连接数
netstat -n | awk '/^tcp/ {++state[$NF]} END {for(key in state) print key,"t",state[key]}'
# 查看网络状态
sar -n DEV 1
# 查看IO状态
iostat 1
# 查看cpu状态
mpstat -P ALL
# 查看22端口链接
ss -lntup |grep 22
ss -tunl | grep 6443
netstat -lntup |grep 22
# 查找文件
find *.md | xargs grep -ri "ch"
3、命令
tmux
screen
tree
dirs
pushd
popd
locate
iftop
percol
fasd
sed
awk
perl
htop
grep
awk
sed
cat
find
which
xargs
lsof
netstat
iotop
iftop
apg
`locate / | fzf -m`
fish
ag
cloc
dtrx
aunpack
less
sdcv
httpie
jq
expect
traceroute -> mtr / mtr-tiny
top -> htop
tmux -> byobu
sysvinit -> systemd
bash -> zsh + oh-my-zsh
cd -> popd
apt-get -> aptitude
scp -> rsync
grep - > ack
ncdu - > du
ls - >exa
watch -n 1 -d netstat -lnp
df - > pydf
net-tools - > iproute2
iptables - > nftables
{i,} python - > ptipython
df - > dfc
上次更新 2019-01-11
原始文档 查看本文 Markdown 版本 »