摘要:
sed sed -i 's/^.//' a2.txt 删除行首第一个字符 sed -i 's/.$//g' d2.txt ##删除行尾最后一个字符 sed -i 's#^#rtmp://video.abc.com/#' a4.txt 在行首添加字符 sed -n '/2017-04-24 17:15 阅读全文
摘要:
#mysqladmin -u root password Yz2*6dLp ###root用户设置密码 use mysql; update user set authentication_string=password("新密码") where user="root"; #更新root密码#show 阅读全文