8000 GitHub - wanjiban/wanjiban: 快捷执行一些命令,Linux 技巧。 · GitHub
[go: up one dir, main page]

Skip to content
wanjibanPublic

About

快捷执行一些命令,Linux 技巧。

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

fd

firewall-cmd 快捷执行一些 firewall-cmd 防火墙命令。

使用方法

  • 安装 & 更新:

    wget -q https://raw.githubusercontent.com/wanjiban/fd/main/fd.sh -O /bin/fd && chmod +x /bin/fd
  • 删除:

    rm -rf /bin/fd
  • 使用: 输入 fd 即可弹出菜单供选择。


check_services.sh

服务快捷检查与重启脚本

安装方法

  • 安装:

    wget https://raw.githubusercontent.com/wanjiban/fd/main/check_services.sh -O /root/check_services.sh && sudo chmod +x /root/check_services.sh && (sudo crontab -l; echo "*/5 * * * * /root/check_services.sh") | sudo crontab -
  • 删除:

    rm -rf /root/check_services.sh && (crontab -l | grep -v '/root/check_services.sh') | sudo crontab -

github_download.sh

超级 GitHub 下载脚本:可一次性下载某个项目生成的全部 Release 文件。同时可以增加第三个参数null和del,下载到null和下载后删除,区别就是前者不写硬盘,后者写,结果都一样。

使用方法

  • 安装所需工具:

    yum install -y wget jq
  • 下载脚本:

    wget https://raw.githubusercontent.com/wanjiban/fd/main/github_download.sh -O /root/github_download.sh && sudo chmod +x /root/github_download.sh
  • 使用:

    ./github_download.sh wanjiban/wanjiban
    ./github_download.sh wanjiban/wanjiban del
    ./github_download.sh wanjiban/wanjiban null

About

快捷执行一些命令,Linux 技巧。

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0