⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pppdown

📁 unix and linux net driver
💻
字号:
#!/bin/sh## This script fill find processes with 'pppd' in the name # and send them SIGINT.  It must be run suid root to work# correctly.  Some people don't like suid root shell scripts.# In that case, check out the example pppkill.c which contains a# C program that does the same thing.  This might be a bit safer# to make suid root.## Note: there is the potential that this script can kill more than#       one process.  Maybe even an incorrect process.  It could #       probably be done better.#PATH=/usr/ucb:/bin:/usr/bin:/etc:/usr/etc:/usr/local/bin; export PATHkill -INT `ps -ax | egrep "(pppd)" | egrep -v "egrep" | sed 's/^\([ 0-9]*\) .*/\1'/`exit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -