码迷,mamicode.com
首页 >  
搜索关键字:linux基本命令—— cat more w who pwd    ( 37061个结果
更复杂的搜索(more complicated searches)
来尝试一下更为复杂一点的检索。我们想要找到姓中包含“Smith"且年龄大于30的员工信息,一个有效的查询如下:GET /megacorp/employee/_search{ "query":{ "filtered":{ "filter":{ "range":{ ...
分类:其他好文   时间:2014-05-09 00:06:23    阅读次数:358
linux修改运行中的脚本
工作中经常会遇到,在执行一个脚本时后,觉得有些地方要补充,而这个脚本又已经运行了一段时间,如果从头再来很浪费时间,这时如果能修改这个运行中的脚本就方便多了。如:cat test.sh#!/bin/bashecho 1111sleep 60echo 2222当开始运行后,如果想修改第二个echo的输出...
分类:系统相关   时间:2014-05-08 18:37:45    阅读次数:344
[渣译文] 使用 MVC 5 的 EF6 Code First 入门 系列:为ASP.NET MVC应用程序创建更复杂的数据模型
这是微软官方教程Getting Started with Entity Framework 6 Code First using MVC 5 系列的翻译,这里是第六篇:为ASP.NET MVC应用程序创建更复杂的数据模型原文:Creating a More Complex Data Model fo...
分类:Web程序   时间:2014-05-08 12:03:22    阅读次数:581
通过命令行制造CPU负载或压力
Linux下如何让CPU负载瞬间升高?前段时间,有一个命令组合想不起来是什么了,上网搜索了一番也没有找到合适的结果,最后好不容易翻看以前测试监控服务器时配置的脚本,终于找到了。这是一个很简洁的命令行,当初前面是记起来了,cat/dev/urandom(注意不是/dev/random),后面..
分类:其他好文   时间:2014-05-08 11:12:58    阅读次数:267
Linux下获得CPU的信息
1、查看物理cpu个数 cat /proc/cupinfo |grep 'physical id'|sort|uniq|wc -l 2、查看一个cpu的物理核数 cat /proc/cupinfo |grep 'core id'|sort|uniq -c|wc -l 或 cat /proc/cupinfo |grep 'cpu cores'|uniq|awk -F ":" '{print...
分类:系统相关   时间:2014-05-08 04:07:55    阅读次数:483
hdu 1217 Arbitrage Floyd||SPFA
转载请注明出处:http://acm.hdu.edu.cn/showproblem.php?pid=1217 Problem Description Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one u...
分类:其他好文   时间:2014-05-08 01:48:12    阅读次数:469
飞信调试获取首次登陆验证码
fetion --mobile=15055198367 --pwd=Aa7788.. --to=15055198367 --msg-utf8=ruiy--debug
分类:其他好文   时间:2014-05-08 01:19:30    阅读次数:204
POJ 1775 sum of Factorial (数论)
链接:http://poj.org/problem?id=1775 Description John von Neumann, b. Dec. 28, 1903, d. Feb. 8, 1957, was a Hungarian-American mathematician who made important contributions to the foundations of m...
分类:其他好文   时间:2014-05-07 23:57:32    阅读次数:402
RedHat EL5 安装Oracle 10g RAC之--系统环境配置(1)
RedHatEL5安装Oracle10gRAC之--系统环境配置(1)系统环境:操作系统:RedHatEL5Cluster:OracleCRS10.2.0.1.0Oracle:Oracle10.2.0.1.0如图所示:RAC系统架构一、操作系统环境1、网络配置(在所有节点)[root@node1~]#cat/etc/hosts#Donotremovethefollowingline,orvariouspro..
分类:数据库   时间:2014-05-07 22:29:15    阅读次数:811
跳板机定期改密码脚本
很早写的,最近别人问过一次,贴出来吧。#!/bin/bash # source/etc/profile&>/dev/null basedir=$(cd`dirname$0`;pwd) nowmonth=`date+%m` nowday=`date+%d` email="$basedir/email/sendemail.sh" functionGaiMiMa(){ user="$1" passwd=$(/usr/bin/mkpasswd-l20-d5-c2-C..
分类:其他好文   时间:2014-05-07 22:26:08    阅读次数:951
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!