11 2017 档案

摘要:Shell是一种脚步语言,那么,就必须有解释器来执行这些脚步。 Unix/Linux上常见的shell脚步解释器有bash,sh,csh,ksh等,习惯把它们称为shell。 例如: #!/bin/bash echo "Hello world !" chmod +x test.sh ./test.s 阅读全文
posted @ 2017-11-27 10:48 刘百会 阅读(166) 评论(0) 推荐(0) 编辑
摘要:模糊查询:tname包含某个关键字测试' cd /opt/soft/mongodb/bin ./mongo --host 192.168.0.1 --port 17017 test db.test_info.find({"tname": {$regex: '测试', $options:'i'}}) 阅读全文
posted @ 2017-11-10 13:13 刘百会 阅读(24541) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示