for i in `ls | grep sql`; do
echo $i;
# 将a替换成b
sed -i 's/a/b/g' $i
done
Created
February 8, 2022 06:41
-
-
Save liubin95/c8e9170fd9444b5fb968e6290efa4d71 to your computer and use it in GitHub Desktop.
常用的命令汇总
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment