码迷,mamicode.com
首页 >  
搜索关键字:commands    ( 1138个结果
linux shell if语句使用方法 [转载]
最精简的 if 命令的语法是: if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fiTEST-COMMAND 执行后且它的返回状态是0,那么 CONSEQUENT-COMMANDS 就执行。返回状态是最后一个命令的退出状态,或者当没有条件是真的话为0。 TES...
分类:系统相关   时间:2014-07-18 17:12:01    阅读次数:353
多版本python管理pyenv
pyenv安装:https://github.com/yyuu/pyenv#choosing-the-python-versionpyenv命令:https://github.com/yyuu/pyenv/blob/master/COMMANDS.mdpyenv virtualenv插件安装:htt...
分类:编程语言   时间:2014-07-17 23:22:39    阅读次数:348
Stop a hung service 关闭一个无响应的windows 服务
If you ever have trouble with a service being stuck in a 'starting' or 'stopping' state, you can run a couple of simple commands to kill the service.1...
分类:Windows程序   时间:2014-07-16 22:49:08    阅读次数:299
变长结构体的使用
在分析安卓源码过程中看到几处使用变长结构体的例子,比如下面的结构体: struct command { /* list of commands in an action */ struct listnode clist; int (*func)(int nargs, char **args); int nargs; char *args[1]; ...
分类:其他好文   时间:2014-07-16 16:16:29    阅读次数:381
install the Mondo Rescue utility in Ubuntu 12.04 or 12.10.
1. Open a terminal window.2. Type in the following commands, then hit Enter after each.wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{pri...
分类:其他好文   时间:2014-07-09 17:51:26    阅读次数:272
重燃你的PHP安全分析之火
关于脚本安全这个话题好像永远没完没了,如果你经常到国外的各种各样的bugtraq上,你会发现有一半以上都和脚本相关,诸如SQL injection,XSS,Path Disclosure,Remote commands execution这样的字眼比比皆是,我们看了之后的用途难道仅仅是抓肉鸡?对于我...
分类:Web程序   时间:2014-07-09 17:22:51    阅读次数:259
nginx环境下配置nagios-关于commands.cfg
nagios监控Linux/windows常用配置,以snmp、nrpe实现1#'process-host-perfdata'commanddefinition2definecommand{3command_nameprocess-host-perfdata4#command_line/usr/bi...
分类:移动开发   时间:2014-07-07 10:35:03    阅读次数:369
expect实现远程主机自动执行命令脚本
2014年第一个脚本,哈哈!!! expect实现远程主机自动执行命令脚本:#!/usr/bin/expect --if { [llength $argv] < 4 } { puts "Usage: $argv0 ip user passwd port commands timeout" exit ...
分类:其他好文   时间:2014-07-06 16:23:01    阅读次数:341
[Chrome_OS]Crosh Shell终端 基础命令
Google’s Chrome OSincludes a shell environment known as Chrome Shell, or “crosh” for short. Crosh includes several terminal commands that can be used ...
分类:其他好文   时间:2014-07-06 15:26:01    阅读次数:662
【Nginx】模块化设计
高度模块化的设计是Nginx的架构基础。所有模块都是以ngx_module_t结构体表示,该结构体内部定义了7个回调方法,它们负责模块的初始化和退出。commands成员是一个包含有ngx_command_t结构体的数组,ngx_command_t的作用就是解析配置项。ctx是一个void指针,这使得模块具有高度灵活性。 ctx可以指向不同类型模块的通用接口,官方Nginx共有5大类模块...
分类:其他好文   时间:2014-07-06 11:49:04    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!