首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Bash的插件体系结构

Bash的插件体系结构

  • 资源大小:9.80 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: bash 插件 体系结构

资 源 简 介

Overview Bash Plugin Architecture (BPA) is a plugin architecture for bash scripts that allows you to easily create a consistant way of using bash scripts by grouping code by function or application. It is entirely written in bash for maximum portability (and fun). Examples You create a script called sysadmin.sh to manage parts your systems. Each machine might have a different purpose, so the functionality of sysadmin.sh will vary from system to system. Running: $ sysadmin.sh --help would give you the list of available plugins registered to sysadmin.sh. E.g. $ sudo sysadmin.sh --mail --flush could flush your mail queue regardless of what MTA is running. Perhaps you also have a security.sh to easily run a variety of standard security tasks: $ sudo security.sh --nmap --syn -- 192.168.0.1 could run your favorit
VIP VIP
0.192715s