查阅资料
- command --help
- man command
- info command
- whatis
- apropos
- mandb
用户与权限
- su
- sudo
- visudo
- chmod
- chgrp
- chown
- umask
- useradd
- usermod
- userdel
- passwd
- groupadd
- groupmod
- groupdel
- gpasswd
- groups
- newgrg
- getfacl
- setfacl
- id
- finger
- chfn
- chsh
- chage
- authconfig
- authconfig-tui
- w
- who
- last
- lastlog
- pwck
- pwconv
- pwunconv
- chpasswd
- grpck
用户交互
- write
- mesg
- wall
程序与函数库
- ldd
- ldconfig
systemd
- systemd
- systemctl
systemV
- init
- service
- inetd
- xinetd
- chkconfig
- tcp_wrappers
- ntsysv
目录与文件命令
- cd
- pwd
- dirname
- ls
- mkdir
- rmdir
- dd
- ulimit
- rsync
- cpio
- cp
- mv
- rm
- rename
- touch
- chattr
- lsattr
- file
- rsync
文件搜索
- which
- whereis
- locate
- updatedb
- find
- type
文件处理
- patch
- truncate
文件查看
- cat
- tac
- nl
- more
- less
- head
- tail
- od
- diff
- cmp
文件编辑
- nano
- vim
- vi
Shell
- bash
- tcsh
- test
- shift
- source (.)
变量与环境
- alias
- unalias
- set
- unset
- declare
- typeset
- export
- env
- echo
- read
- stty
进程
- ps
- pstree
- kill
- killall
- pkill
- pgrep
- jobs
- fg
- bg
- nohup
- sleep
- nice
- renice
- fuser
- lsof
- pidof
日志与记录
- history
- last
- rsyslog
- journalctl
- logrotate
- logwatch
- logger
编码转换
- dos2unix
- unix2dos
- iconv
文件压缩与解压
gzip压缩(兼容compress压缩与zip压缩)
- gzip
- zcat
- zgrep
- zless
- zmore
- znew
bzip2压缩
- bzip2
- bzcat
- bzmore
- bzless
- bzgrep
xz压缩
- xz
- xzcat
- xzgrep
- xzmore
- xzless
镜像与烧录
- mkisofs
- isoinfo
- cdrecord
- wodim
磁盘管理
- lsblk
- blkid
- df
- du
- parted
- partprobe
- mkfs
- mount
- umount
- remount
- mknod
- mkswap
- swapon
- swapoff
- dump
- fsck
- ln
分割方式
MBR
- fdisk
GPT
- gdisk
文件系统
EXT文件系统
- dump2fs
- e2fsck
- mkfs.ext4
- fsck.ext4
- resize2fs
- tune2fs
XFS文件系统
- xfs_info
- mkfs.xfs
- xfs_repair
- xfs_admin
- xfs_growfs
- xfsdump
- xfsrestore
磁盘配额
- xfs_quota
- usrquota
- grpquota
- quotacheck
- edquota
- setquota
- repquota
- quota
- quotaoff
- quotaon
- warnquota
磁盘阵列
- mdadm
LVM
PhysicalVolume层面
- pvcreate
- pvscan
- pvdisplay
- pvremove
- pvchange
VolumeGroup层面
- vgcreate
- vgscan
- vgdisplay
- vgremove
- vgextend
- vgreduce
- vgchange
LogicalVolume层面
- lvcreate
- lvscan
- lvdisplay
- lvremove
- lvextend
- lvreduce
- lvresize
- lvchange
- lvs
开机
- lsinitrd
- lsmod
- insmod
- modprobe
- rmmod
- depmod
- modinfo
- grub2-mkconfig
- dracut
- mkinitrd
- grub2-install
- grub2-mkpasswd-pbkdf2
SELinux
- getenforce
- setenforce
- sestatus
- getsebool
- setsebool
- seinfo
- sesearch
- semanage
- restorecon
- chcon
- auditd
- setroubleshootd
- sealert
硬件资源管理
- free
- top
- dmesg
- dmidecode
- lspci
- lsusb
- uptime
- iostat
- mpstat
- vmstat
- sar
- smartd
- smartctl
- update-pciids
电源管理
- sync
- shutdown
- reboot
- poweroff
- halt
管道与重定向
- xargs
- grep
- egrep
- sed
- awk
- cut
- sort
- wc
- uniq
- split
- tee
- |
- >
- >>
- 2>
- 2>>
- <
- <<
- -
网络
- nmcli
- route
- hostnamectl
- hostname
- netstat
- ss
- telnet
- iptables
- firewalld
- firewall-cmd
- tcpd
- tcpdump
- ifconfig
- ping
- traceroute
- curl
- wget
- axel
- ip
远程连接
- ssh
- sftp
- scp
- vsftpd
定时任务
- at
- atd
- atq
- atrm
- batch
- crond
- crontab
- anacron
软件管理
- make
- configure/config(侦测环境,生成Makefile)
- rpm
- rpmbuild
- yum
- dpkg
- apt(整合apt-get...)
- pacman
内容签名校验
- md5sum
- sha1sum
- sha256sum
系统环境配置
- genfstab
- locale.gen
- tzselect
X Window
- startx
- xinit
- X(Xorg)
- Xterm
- startkde
- gnome-session
- xclock
- xrandr
- fc-cache
- fc-list
- nvidia-installer
- aticonfig
其他命令
- date
- timedatectl
- hwclock
- ntpdate
- cal
- locale
- localectl
- uuidgen
- time
- uname
- lsb_release
- sed
- tr
- col
- expand
- join
- paste
- gcc
- printf
- pr
- seq
- bc
- tmpwatch
- run-parts