码迷,mamicode.com
首页 >  
搜索关键字:shell find exec xargs    ( 58933个结果
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t...
分类:其他好文   时间:2014-05-07 05:37:44    阅读次数:278
Qt中事件分发源代码剖析
Qt中事件分发源代码剖析 Qt中事件传递顺序: 在一个应该程序中,会进入一个事件循环,接受系统产生的事件,并且进行分发,这些都是在exec中进行的。 下面举例说明: 1)首先看看下面一段示例代码: int main(int argc, char *argv[]) { QApplication a(argc, argv); MouseEvent w; w.sho...
分类:其他好文   时间:2014-05-07 04:35:25    阅读次数:390
shell编程基础
写脚本:写的是维护工具,也是写脚本的目的,用途shell,直译是壳shell脚本是面向过程的#!/bin/bash是指此脚本是用那种shell解释执行的,是特殊的表示符/etc/profile:给用户加载最基本的环境变量,配置全局变量~/.bash_profile:个人环境/etc/bashrc:配置别名或shell选项====..
分类:其他好文   时间:2014-05-06 17:25:18    阅读次数:262
xargs入门
xargs命令把从stdin接收到的数据重新格式化,再将其作为参数提供给其他命令。1.将多行输入转换为单行输出$catexample.txt#样例文件 123456 78910 1112$catexample.txt|xargs 1234567891011122.将单行输入转换成多行输出$catexample.txt|xargs-n3#每行n个参数,空格是默认的定界..
分类:其他好文   时间:2014-05-06 17:18:39    阅读次数:252
find
#find/usr-namepxelinux.0#find/usr/share-namepxe*#find/usr-namepxelinux.?#tail/etc/passwd#find/-userapache#find/-usernamed#df-i#find/-inum1016273--execrm-fr{}\;#find/-size+204800-execrm-fr{}\;#find/etc-nameinit*-okls-l{}\;#find/-size204800#find/-size+204800(..
分类:其他好文   时间:2014-05-06 16:44:34    阅读次数:258
在windows中的DOS窗口执行adb shell出错的解决办法
1,首先要检查是否已经配置好环境变量或者在platform-tools目录(adb.exe存在的路径)下执行的adbshell2,步骤1没问题的话,那么运行:adbkill-server再执行:adbshell好了,问题解决(PS:反正我的解决了)
分类:数据库   时间:2014-05-06 16:41:52    阅读次数:316
selinux 限制 apache exec执行cgi
selinux限制apacheexec执行cgi一、起因某日发现smokeping访问失败,发布的apache进程不存在;在/usr/local下找不到任何apache文件,怀疑apache是rpm安装,使用/etc/init.d/httpd启动后果真listen8001端口···二、排查1、获取error日志的关键内容启动后尝试刷新8001下的smokep..
分类:系统相关   时间:2014-05-06 16:39:10    阅读次数:689
rails 4 Could not find a JavaScript runtime (ExecJS::RuntimeUnavailable)
chen@chen-pc~/demo/abc/bin$railsc /home/chen/.rvm/gems/ruby-2.0.0-p451/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in`autodetect‘:CouldnotfindaJavaScriptruntime.Seehttps://github.com/sstephenson/execjsforalistofavailableruntimes.(ExecJS::RuntimeUnavailable)..
分类:编程语言   时间:2014-05-06 16:13:25    阅读次数:407
手游公司运维之利用Rundeck自动化运维工具和Shell脚本构建测试环境代码发布平台和生产环境代码发布平台
在做手游运维工作之前,我接触的代码发布都是常规的软件发布,有固定的发布周期。之前工作的那个外企有严格的发布周期,一年中的所有发布计划都是由ReleaseManager来控制,每次发布之前都需要做一些准备工作,如填写发布表单,上传发布需要的资源文件,联系发布过程中的相关人..
分类:其他好文   时间:2014-05-06 16:01:14    阅读次数:976
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!