#!/bin/baship="172.16.1.113"command="ssh$ip"expect-c"spawn$command;expect{\"Areyousureyouwanttocontinueconnecting(yes/no)?\"{send\"yes\r\";exp_continue}}"
分类:
其他好文 时间:
2014-08-24 10:23:32
阅读次数:
414
昨天晚上第一次翻译了《20 Command Line Tools to Monitor Linux Performance》中的前十个命令,翻译得不是很好,今天晚上继续把后面的十个也翻译给大家吧,第一次写博客,写的不是特别的好,希望大家不要介意,也希望大家觉得有什么不对的地方能够多多指教,毕竟小弟还...
分类:
系统相关 时间:
2014-08-24 00:13:11
阅读次数:
506
转载自CSDN --andyweike1. 编译iPad真机时,选择了 Architetures:Standard(armv6) BaseSDK:iPhoneDevice3.2 TargetDeviceFamily:iPad.若编译出现如下错误:Command /Developer/Platform...
分类:
其他好文 时间:
2014-08-23 21:28:31
阅读次数:
220
NAME popen, pclose - pipe stream to or from a processSYNOPSIS #include FILE *popen(const char *command, const char *type); int pclose(FILE *stream);DE...
分类:
其他好文 时间:
2014-08-23 13:54:00
阅读次数:
227
Android adb setup for ubuntu connect the device to ubuntu, use command $sudo lsusb will display like: mean: Spreadtrum device idVendor 1782 ?idProduct 5d24 1, touch the file: ~/.android/adb_usb.in...
分类:
移动开发 时间:
2014-08-23 03:36:20
阅读次数:
249
发布闲云控制台连载系列,会不定期加入新功能~
先发一个命令解析的框架
/**************************************************
*******************闲云万能控制台*********************
*********
********* 作者: 闲云野鹤
********* QQ: 836663997...
分类:
其他好文 时间:
2014-08-22 23:53:29
阅读次数:
441
more 命令有三种用法:
1.more filename
2.command | more
3.more
本例中在使用时要用./more执行
more.c
#include
#include
#include
#define LINE_LENGTH 512
#define PAGE_LENGTH 24
int see_more(FILE* fp_cmd)
{...
分类:
系统相关 时间:
2014-08-22 17:55:59
阅读次数:
306
刚刚从MySql/MSSQL数据库转到Oracle,用C#调用时一直更新不成功 ,后来发现是传参数格式不正确的问题。Oracle里的command 要在参数名前用冒号:标注。SqlServer和MySQL都是用@。见http://www.codeproject.com/Questions/61858...
分类:
数据库 时间:
2014-08-22 16:03:58
阅读次数:
309
下面讲述根据xml生成对应序列化反序列化类的过程,xml需要首先转化为xsd,然后再生成为实体类。其中,XSD是XML Schema Definition的缩写。1.拥有一个xml文件2.打开vs的command line:xsd *.xml ,执行这个命令 是通过xml文件生成xsd文件,xsd文...
分类:
其他好文 时间:
2014-08-22 12:26:46
阅读次数:
350
在使用LOAD DATA LOCAL INFILE时遇到:ERROR 1148 (42000): The used command is not allowed with this MySQL version解决办法:1、启动mysql时添加--local_file=1选项;2、在my.cnf的[m...
分类:
其他好文 时间:
2014-08-22 09:18:15
阅读次数:
285