控制文件-小型二进制文件-定义物理数据库的当前状态-丢失控制文件须要修复-维护数据库的完整性-要求: 1.在启动数据库时处于mount状态 2.可以操作数据库-仅仅链接至一个数据库-最初由create database确定大小控制文件的内容控制文件里包括下面条目:-数据库名称和标识符-创建数据库的时...
分类:
其他好文 时间:
2014-07-09 21:32:52
阅读次数:
230
文本编辑器vimvim:(visualinterfaceimproved),是一款全屏的纯文本ASSCII的编辑器,是vi的增强版,相比较vi来说,vim支持语法高亮等特点。vim是一种模式化的编辑器,常见的模式有编辑模式(命令模式),输入模式,末行模式,可视化模式,多文件模式,多窗口模式等。Usage:vim[o..
分类:
系统相关 时间:
2014-07-08 09:30:44
阅读次数:
274
1,mount虚拟cdrom # mount /dev/cdrom /mnt/cdrom 2, ls一下,看有没有 # cd /mnt/cdrom # ls –l 3,copy 文件到/tmp目录: 4,到/tmp目录,解压,安装: # tar zxvf VMwareTools-9.6.2-1688...
分类:
其他好文 时间:
2014-07-07 09:18:15
阅读次数:
255
Reference link :https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/BinaryData/Tasks/WorkingBinaryData.html1. create NSData, here m...
分类:
移动开发 时间:
2014-07-06 20:28:23
阅读次数:
224
apache本身自带了一个测试工具ab,在apache的安装目录bin目录下ab的使用方法:Usage: ab [options] [http[s]://]hostname[:port]/path-n 测试会话中所执行的请求个数,默认时,仅执行一个请求-c 一次产生的请求个数。默认是一次一个-t 测...
分类:
其他好文 时间:
2014-07-06 19:33:13
阅读次数:
206
expect自动远程拷贝脚本,利用rsync命令,脚本内容如下:#!/usr/bin/expect --proc Usage_Exit {self} { puts "" puts "Usage: $self ip user passwd port sourcefile d...
分类:
其他好文 时间:
2014-07-06 16:24:17
阅读次数:
333
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
也许很多人认为shell不能并发任务,其实可通过其它一些方式来实现。下面的脚本是我批量快速管理500+服务器脚本,阅读该脚本前建议先看《自动执行远程主机命令expect脚本》、《自动远程拷贝expect脚本》和《getopt:命令行选项、参数处理》用法:Usage: ./multi_main.sh ...
分类:
其他好文 时间:
2014-07-06 16:22:24
阅读次数:
270
直接上配置,你懂的
lai'mac:~ laijingli$ more .bash_profile
###add my scripts to the search path for convenient daily usage
export PATH=$PATH:/Users/laijingli/autoshell:/opt/local/bin:/opt/local/sbin
##...
分类:
其他好文 时间:
2014-07-06 10:12:26
阅读次数:
185
You can easily mount remote server file system or your own home directory using special sshfs and fuse tools.FUSE - Filesystem in UserspaceFUSE is a L...
分类:
系统相关 时间:
2014-07-05 16:58:48
阅读次数:
294