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