#!/bin/bash
/usr/local/bin/varnishstat-1>/tmp/varnish.$$
awk‘{
printf("%s:%s",$1,$2)
}‘/tmp/varnish.$$
rm-rf/tmp/varnish.$$Usage:Asrootsetupacronjob:*****/usr/local/varnish/bin/varnishstat-1>/tmp/varnishstatAddanuserparametertozabbix:UserParameter=..
分类:
其他好文 时间:
2014-10-01 01:30:20
阅读次数:
245
刚开始报error:devices not found重新安装adb 驱动。解决方法:adb kill-serveradb start-serveradb remount再使用adb devices和adb shell就可以使用android adb功能了。转自:http://blog.csdn.n...
分类:
数据库 时间:
2014-10-01 00:18:10
阅读次数:
523
1、人类如何与计算机"沟通"?翻译官:编译器、解释器;编程语言:机器语言、汇编语言、高级语言静态语言:编译型语言强类型语言:变量在使用之前,需要声明定义,甚至需要初始化事先转换成可执行格式C、C++、Java、C#动态语言:解释型语言弱类型语言:变量在使用之前,不需要声..
分类:
其他好文 时间:
2014-09-30 23:59:21
阅读次数:
259
$# 是传给脚本的参数个数$0 是脚本本身的名字$1 是传递给该shell脚本的第一个参数$2 是传递给该shell脚本的第二个参数$@ 是传给脚本的所有参数的列表$* 是以一个单字符串显示所有向脚本传递的参数,与位置变量不同,参数可超过9个$$ 是脚本运行的当前进程ID号$? 是显示最后命令的退出...
分类:
系统相关 时间:
2014-09-30 23:19:30
阅读次数:
268
Vbird Linux:Vim Learning:http://linux.vbird.org/linux_basic/0310vi.phpBash Shell:http://linux.vbird.org/linux_basic/0320bash.phpKey words of reminder:...
分类:
其他好文 时间:
2014-09-30 21:17:00
阅读次数:
172
在Linux环境下工作,大部分时间都是在与终端打交道,经常会遇到要查看某个文件,比如一个图片或者一个word文档(不能在终端中直接查看的)。这时 通常的做法是切换到gui界面,到文件所在的目录,双击想打开的文件。另外一种方法是直接在shell中输入指定的程序打开文件,比如: evince xx.pd...
分类:
其他好文 时间:
2014-09-30 19:22:19
阅读次数:
146
ipc$空连接使用目录 :一 前言二 什么是ipc$三 什么是空会话四 空会话可以做什么五 ipc$连接所使用的端口六 ipc$连接在hack攻击中的意义七 ipc$连接失败的常见原因八 复制文件失败的原因九 如何打开目标的IPC$共享以及其他共享十 一些需要shell才能完成的命令十一 入侵中可能...
分类:
其他好文 时间:
2014-09-30 18:54:49
阅读次数:
251
月份出错可能影响shell脚本运行,还是改一下。
1
zxw@hostUbuntu1:~$ ifconfig
eth0 Link encap:浠ュお缃 纭欢鍦板潃 00:0c:29:fb:c0:4c
inet 鍦板潃: 骞挎挱: 鎺╃爜:255.255.255.0
inet6 鍦板潃: fe80::20c:29ff:fefb...
分类:
其他好文 时间:
2014-09-30 18:36:19
阅读次数:
271
1.安装如下组件sudo apt-get install如下组件:build-essential gobjc gobjc++ gnustep-devel 2.在工作目录建立下如Shell脚本,并更改文件权限为可执行.objcc.sh#!/usr/bin/env bashgcc $1.m `gnus....
分类:
其他好文 时间:
2014-09-30 17:55:59
阅读次数:
144
type command -env x='() { :;}; echo vulnerable' bash -c 'echo hello'in your terminal.if your system is vulnerable then above command will return outpu...
分类:
其他好文 时间:
2014-09-30 15:28:59
阅读次数:
152