Linux Commands Collect

这些都是我工作至今或多或少用到过的,单纯地陈列这些命令没什么用,关键是要在合适的场景选择合适的工具去解决问题,这里就是给自己提个醒儿,也是出于好奇统计一下自己的知识储备。

a

awk (data processing and extracting), alias, at(schedule job one time), arp(check layer2 to layer3 mapping), ab(apach HTTP server benchmark tool), apropos, aspell, ack(grep like search for source code)

b

base64(encode/decode), bg, basename(last name), blkid, bzip2, bc

c

cat, cd, cp, cut ,curl ,chown ,chmod ,chgrp ,cron ,clear, cal(calendar), comm

d

df(disk space check), dirname(path prefix), du(occupied space check), diff, date, dd(convert and copy), dnsdomainname, dig(dns lookup utility), disown(remove job from current job list)

e

echo, exit, export, env, exportfs, ethtool(physical card), eval, expand(tab to spaces)

f

file, free, find, fg, firewall-cmd, fallocate(fast allocate space), fuser, fsck, fold, fmt

g

gzip, grep, git, gitk, getfacl, getent(look up /etc/hosts)

h

hostname, host, htpasswd, history, hostnamectl(permenant hostname), hdparm d

i

ip(so powerful), ifconfig(obsolete), id, iperf3, iptables, iostat, ifdown, ifup, install(copy files and set attributes)

j

jq, jobs, journalctl, join

k

kill

l

ls, less, ln, lsblk, lvdisplay, lscpu, lastlog, last(reboot), losetup, lsof(list open files), loginctl, lvm, lvreate, lvextend, lvresize, lvreduce, lvemove, lvdisplay, locate

m

mv, mount, more, man, mkdir, mktemp, mdadm, make, mkfifo(named pipe), mpstat

n

nc, netstat, nslookup, nmap, nice(process priority), nmcli, nohup, nl, numfmt(unit convert)

o

openssl

p

pwd, ping, ps, perf, pvdisplay, pmap, pwdx, pv(throttle the progress of data through a pipe), pvcreate, pvscan, paste, patch, printf, pidstat

q

so far no!

r

rm, rmdir, route, rsync, readlink, runlevel, renice, rpm, rev(reverse seq), reset

s

ssh, scp, sftp, strace, sudo, su, sed(stream editor), setfacl, sleep, stat, systemctl, shutdown, sar(system activity report), ss(similar to netstat), stress, stress-ng, sort, seq, sync, sshfs, screen, script, set, split, strings(print printable chars in files)

t

tar, tcpdump(wireshark), tcpreplay, top(powerful!), trap, touch, tee, tail, tree, tracepath, traceroute, tload, tc(traffic control), tac(reversion of cat), truncate, tr(translate), timeout, tmux

u

uniq, uname, umount, unlink, uuidgen, uptime, udevadm, unalias

v

vim, vmstat, vgcreate, vgextend, vgreduce, vgremove, vgdisplay

w

w, who, wget, wc, wall, write, watch, wipefs

x

xargs

y

yum, yes

z

zip

0%