(1) 进入AVD的shell模式 打开命令行,输入 adb?shell (2) 进入数据库目录查看数据库 cd?/data/data/package_name;ls (3) 操作数据库 sqlite3?dbName (4)、sqlite3的常用命令 .table显示所有表 .schema 显示数据...
分类:
数据库 时间:
2014-10-15 11:33:50
阅读次数:
291
expect+ssh修改主机密码foripin`cat/tmp/myhosts`;do
expect-c"spawnssh-p33842$ip;expect*assword*{send\"myoldpasswd\r\"};expectroot@*{send\"echoroot:‘mynewpassword‘|/usr/sbin/chpasswd\r\"};expectroot@*{send\"ipaddr\r\"};expectof";done
分类:
其他好文 时间:
2014-10-15 04:41:50
阅读次数:
204
逼格高实用性强的神器Nmap的常用命令总结。 nmap -sT[V] -p- -PN 192.168.1.101[-110] TCP扫描 nmap -sS[V] -p- -PN 192.168.1.101[-110] SYN扫描 nmap -sU[V] 192.168.1.101[-110] UDP...
分类:
其他好文 时间:
2014-10-15 02:27:19
阅读次数:
453
1 $ rvm info 2 $ rvm info 1.9.2 3 4 $ rvm list known 5 $ rvm install 1.9.2 # 安装 ruby-1.9.2 6 $ rvm ...
分类:
其他好文 时间:
2014-10-15 02:08:19
阅读次数:
314
由于记忆力有限,把平时常用的Linux命令整理出来,以便随时查阅:linux 基本命令ls (list 显示当前目录下文件和目录 ls -l 详细显示 =ll )[root@linux ~]# ls [-aAdfFhilRS] 目录名称[root@linux ~]# ls [--color={non...
分类:
系统相关 时间:
2014-10-14 23:06:09
阅读次数:
387
CISCO交换机基本配置:Console端口连接用户模式hostname#;特权模式hostname(config)#;全局配置模式hostname(config-if)#;交换机口令设置:switch>enable;进入特权模式switch#configterminal;进入全局配置模式switch(config)#hostnamecsico;设置交换机的主机名swit..
分类:
系统相关 时间:
2014-10-14 20:28:39
阅读次数:
213
我也玩玩git,初入,本屌还是处在一头雾水,不知如何来玩git的阶段,下面先列一些常用的命令及git客户端安装安装rpm-qa|grepgit查看是否安装gityumlist|grep^git查看列表yuminstallgit-all.noarchgitversion把自己介绍给gitgitconfig--globaluser.name"xf"gitconfig--globaluse..
分类:
其他好文 时间:
2014-10-14 20:08:20
阅读次数:
221
先介绍几个参数:-c 断点续传(备注:使用断点续传要求服务器支持断点续传),-r 递归下载(目录下的所有文件,包括子目录),-np 递归下载不搜索上层目录,-k 把绝对链接转为相对链接,这样下载之后的网页方便浏览。-L 递归时不进入其他主机,-p 下载网页所需要的所有文件。比如:#wget -c -...
安装完centos7minimal后,无力吐槽,变化之大,发现以前常用的一些命令都没有。一、常用命令安装查看anaconda-ks.cfg,原来是没装basegroup的包[root@centos7~]#catanaconda-ks.cfg
#version=RHEL7
#Systemauthorizationinformation
auth--enableshadow--passalgo=sha512
#UseC..
分类:
其他好文 时间:
2014-10-11 18:26:46
阅读次数:
225