1、创建targets文件vi targets$cat targetsRPC-DCOM 10.10.20.1.10.10.20.4SQL-SA-blank-pw 10.10.20.27.10.10.20.282、python>>> targets_file = open('targets','...
分类:
编程语言 时间:
2014-11-28 09:49:30
阅读次数:
151
命令不要死记硬背,这里我列出一些常用的命令,并不给解释,目的只是为了自己以后去回忆。想不起的随便上网一查就可以了
一、文件系统及相关操作
1、ls -a ; ls -l
; ls al
2、cat
3、man ls或者... ls --help
4、cd
5、pwd
6、file
7、echo
8、mkdir/rmdir
9、cat
10、cp, mv, ...
分类:
系统相关 时间:
2014-11-28 06:26:08
阅读次数:
246
1、查看php的编译参数/usr/local/php/bin/php-config--configure-options或者/usr/local/php/bin/php-r"phpinfo();"|grep-iconfigure或者/usr/local/php/bin/php-i|grepconfigure2、查看mysql的编译参数cat/usr/local/mysql/bin/mysqlbug|grepconfigure3、查看Nginx的编译参数/..
分类:
数据库 时间:
2014-11-27 18:46:14
阅读次数:
176
1.复位——reset命令[rory@localhost ~]$ cat /bin/arch结果为:满屏的乱码使用reset命令[rory@localhost ~]$ reset结果为:被清屏复位了2.Ctrl + C 非常规中断——终止前台进程就是帮助用户停止现在进行的工作3.Ctrl + D 输...
分类:
系统相关 时间:
2014-11-27 14:07:06
阅读次数:
246
public delegate void catMiaoHanler(Cat cat); public class Cat { public catMiaoHanler thisHanler; public string Name { get; set; } ...
分类:
其他好文 时间:
2014-11-27 12:13:42
阅读次数:
157
相关命令:adb shell dumpsys meminfo > dumpsys_meminfo.txt adb shell cat /sys/kernel/debug/ion/ion_mm_heap > ion_mm_heap.txt adb shell cat /proc/mali/memory_usage > gpu_mali_memory_usage.txt adb shell ps > ...
分类:
移动开发 时间:
2014-11-27 10:43:52
阅读次数:
223
要用到 boost库,基础设施建设。。。做个记录1.0 linux : 系统环境root@melos1305-B85M-DS3H:~# cat /etc/lsb-releaseDISTRIB_ID=UbuntuDISTRIB_RELEASE=12.04DISTRIB_CODENAME=precis....
要用到c++11,基础设施建设。。。0.系统版本: root@melos1305-B85M-DS3H:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DE...
分类:
其他好文 时间:
2014-11-26 22:18:08
阅读次数:
287
# id # 显示当前用户和用户组的 ID
# who # 显示目前登入系统的用户信息
#su 改变使用者身份
[root@localhost/]#su Chenlly
[Chenlly@localhost/]
#cat /etc/passwd 档案结构
root:x:0:0:root:/root:/bin/bash
chenlly:x:1000:1000:chenlly,,...
分类:
系统相关 时间:
2014-11-26 18:56:06
阅读次数:
338
数学表达式的计算示例:
root@Storage:/mnt/mtd# cat rss.sh
#!/bin/sh
while true
do
cat /proc/2409/stat |awk -F" " '{print $24}'
rss=`cat /proc/2409/stat |awk -F" " '{print $24}'`
page=4096
echo rss=$[$pa...
分类:
系统相关 时间:
2014-11-26 11:24:11
阅读次数:
207