![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Shell
debugkernel
这个作者很懒,什么都没留下…
展开
-
Shell读取进程信息
for i in `ls /proc/*/ -d`; do pid=`basename $i`; echo $pid | grep -Eq '^[+-]?[0-9]+$' if [ $? -ne 0 ]; then continue fi echo $pid cat /proc/$pid/status | head -n...原创 2019-04-04 11:22:06 · 271 阅读 · 0 评论 -
Iptables使用小结
限速 sudo iptables -I OUTPUT -d 192.168.7.6 -m limit --limit=1/s --limit-burst=1 -j ACCEPT sudo iptables -A OUTPUT -d 192.168.7.6 -j DROP原创 2019-04-11 18:27:21 · 118 阅读 · 0 评论 -
LINUX 配置,.bashrc
LINUX 配置 # define environments for all users export PATH=$PATH:/opt/usr/bin export HISTFILESIZE=10000 export HISTSIZE=2000 PS1='`basename \w`\$ ' export RAMDISK="/mnt/RAMDISK" # java setup export...原创 2019-04-22 10:10:45 · 485 阅读 · 0 评论 -
linux迁移
Linux installation migrate , copy rsync aAXv /* /path/to/backup/folder exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found}原创 2019-04-22 10:17:09 · 271 阅读 · 0 评论