码迷,mamicode.com
首页 > 其他好文 > 详细

sed 操作

时间:2017-04-07 23:15:46      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:cli   sys   cti   rac   word   call   for   server   cal   

 

[root@localhost sysbench]# sysbench --help | sed -n /mysql options:/,/^$/p
mysql options:
  --mysql-host=[LIST,...]          MySQL server host [localhost]
  --mysql-port=[LIST,...]          MySQL server port [3306]
  --mysql-socket=[LIST,...]        MySQL socket
  --mysql-user=STRING              MySQL user [sbtest]
  --mysql-password=STRING          MySQL password []
  --mysql-db=STRING                MySQL database name [sbtest]
  --mysql-ssl[=on|off]             use SSL connections, if available in the client library [off]
  --mysql-ssl-cipher=STRING        use specific cipher for SSL connections []
  --mysql-compression[=on|off]     use compression, if available in the client library [off]
  --mysql-debug[=on|off]           trace all client library calls [off]
  --mysql-ignore-errors=[LIST,...] list of errors to ignore, or "all" [1213,1020,1205]
  --mysql-dry-run[=on|off]         Dry run, pretend that all MySQL client API calls are successful without executing them [off]

[root@localhost sysbench]# 

 

sed 操作

标签:cli   sys   cti   rac   word   call   for   server   cal   

原文地址:http://www.cnblogs.com/RaymondBlog/p/6680238.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!