标签:语句 mysq net 网卡 排除 network 一级目录 linux 查找
find(工具) path(路径) -option(参数) -action(动作); find path -option [ -print ] [ -exec -ok command ]
find / -name eth0 find / -name ifcfg-eth0 find / -name "*eth0" find /etc/ -name "*eth0" find /etc/sysconfig/network-scripts/ -name "*eth0"
find / -name auto_mysql_backup.sh find / -name *mysql_backup*.sh
find / -name "*.rpm" find / -name "mariadb*rpm" find / -name "*.rpm" -a -name "mariadb*" find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*" find / -name "*.rpm" -a -name "mariadb*" -a ! -name "mariadb-libs*
for soft in `find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*"`;do cp $soft /tmp/;done cp `find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*"` /tmp/ \cp $(find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*") /tmp/ find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*" -exec cp {} /tmp/ \; find / -name "*.rpm" -name "mariadb*" ! -name "mariadb-libs*"|xargs -I {}cp {} /tmp/
find /data/logs/ -size +10M -size -30M -type f -mtime +3 -name “*.log”-exec mv {} /data/backup/ \;
find . -maxdepth 1 -type d ! -name "\.*" -name "a*"
sed s/jfedu/root/g list.txt sed ‘s#jfedu#root#g‘ list.txt sed -i ‘s#jfedu#root#g‘ list.txt sed -e ‘3s/2/100/g‘ -e ‘4s/3/100/g‘ list.txt sed ‘3s/2/100/g;4s/3/100/g‘ list.txt sed ‘3,$s/11/100/g‘ list.txt
标签:语句 mysq net 网卡 排除 network 一级目录 linux 查找
原文地址:https://www.cnblogs.com/nsh123/p/12157475.html