`
liushilang
  • 浏览: 86076 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

linux 命令小记

 
阅读更多

export PATH=$PATH:/opt/mysql/server-5.6/bin

 

给mysql添加用户,并设置密码

grant all on db1.* to user1@'%' identified by 'password';

 

在当前目录下查找包含指定字符的文件

grep -n "sfkPassWord" -r ./

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics