博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux常用命令
阅读量:4042 次
发布时间:2019-05-24

本文共 646 字,大约阅读时间需要 2 分钟。

文件夹拷贝 

cp -rf `ls  ./ | grep -E -v "^(.git)$"`  ../ant-manager/
根据进程关键字批量杀进程
ps -ef |grep start |awk '{print $2}' | xargs -I X kill X
抓包
tcpdump -X -s 0 -i 2 host 192.168.3.71 and tcp port 80 
tcpick -C -yP -r tcpdump_0929.cap
tcpick -i eth1 -yP -C -h "port 80"

tcpdump -X -s 0 -i 4 host 192.168.3.71 and tcp port 80 -w /tmp/tcpdump_0929.cap

tcpdump -i any port http -A

tcpdump -X -s 0 -i 4 host 192.168.3.71 and tcp port 80 -w /tmp/tcpdump.cap
---------------------
$ find /alidata/www/ant_nest_dev/ -type f -name "*.php" | xargs grep "192.168.1.201"
$ grep 192.168.1.201 -rl /alidata/www/ant_nest_dev/|xargs sed -i 's/192.168.1.201/192.168.2.115/g'

转载地址:http://kyadi.baihongyu.com/

你可能感兴趣的文章
iphone开发基础之objective-c学习
查看>>
iphone开发之SDK研究(待续)
查看>>
计算机网络复习要点
查看>>
Variable property attributes or Modifiers in iOS
查看>>
NSNotificationCenter 用法总结
查看>>
C primer plus 基础总结(一)
查看>>
剑指offer算法题分析与整理(一)
查看>>
剑指offer算法题分析与整理(三)
查看>>
Ubuntu 13.10使用fcitx输入法
查看>>
pidgin-lwqq 安装
查看>>
mint/ubuntu安装搜狗输入法
查看>>
C++动态申请数组和参数传递问题
查看>>
opencv学习——在MFC中读取和显示图像
查看>>
retext出现Could not parse file contents, check if you have the necessary module installed解决方案
查看>>
Matlab与CUDA C的混合编程配置出现的问题及解决方案
查看>>
python一句话之利用文件对话框获取文件路径
查看>>
PaperDownloader——文献命名6起来
查看>>
如何将PaperDownloader下载的文献存放到任意位置
查看>>
C/C++中关于动态生成一维数组和二维数组的学习
查看>>
JVM最简生存指南
查看>>