Hi_Amos
坚持每天都在进步!!
摘要: 官方api教程:http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-java-driver/#getting-started-with-java-driverpackage com.infomorrow.webroot;im... 阅读全文
posted @ 2013-12-18 16:58 Hi_Amos 阅读(12491) 评论(0) 推荐(1) 编辑
摘要: 1.关于echo和printf打印输出如果要使用转义序列,那么需要在echo 后面加上参数 -e来进行识别,下面例子是进行对比:amosli@amosli-pc:~/learn$ echo -e "1\t2\t3\t"1 2 3 amosli@amosli-pc:~/learn$ echo "1\t2\t\3\t"1\t2\t\3\t输出彩色输出:颜色码:重置为0,黑色为30,红色为31,绿色为32,黄色为33,蓝色为34,洋红为35,青色为36,白色为37.echo -e "\e[31m this is red text" //将终 阅读全文
posted @ 2013-12-18 01:44 Hi_Amos 阅读(1037) 评论(0) 推荐(0) 编辑