#命令补全

bash-completion 

#网络命令

net-tools包提供的命令:
netstat 

#killall

psmisc

#发送邮件的安装包

[root@C8-88-mariadb-bak ~]# dnf -y install mailx

sed 里面 +和*

[root05:45 AMubuntu ~]#sed -nE '/^#[[:space:]]*/p'  /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
# /boot was on /dev/sda2 during installation
# /data was on /dev/sda3 during installation

[root05:41 AMubuntu ~]#egrep '^#[[:space:]]+'  /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
# /boot was on /dev/sda2 during installation
# /data was on /dev/sda3 during installation
[root05:42 AMubuntu ~]#egrep '^# *'  /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
# /boot was on /dev/sda2 during installation
# /data was on /dev/sda3 during installation

最小化安装的包

yum -y install vim-enhanced tcpdump lrzsz tree telnet bash-completion net-tools wget bzip2 lsof tmux man-pages zip unzip nfs-utils gcc make gcc-c++ glibc glibc-devel pcre pcre-devel openssl  openssl-devel systemd-devel zlib-devel