Code Monkey home page Code Monkey logo

simple_vps_tools's Introduction

Simple_VPS_Tools

VPS 简单实用命令行工具一键安装脚本, 包括:

压缩/解压缩、系统资源监视、TCP/HTTP/HTTPS Ping、路由追踪、DNS 查询、Speedtest 测试、加密文件传输、磁盘和目录占用空间查看、更容易使用的 find 命令、有代码高亮功能的 cat 命令。

支持 x86_64 和 aarch64 架构,理论上适用各种 linux 主流发行版 (没有精力详细测试)。

此脚本内工具均为独立执行文件,安装至 /usr/local/bin 目录下,大概占用 60MB 左右磁盘空间。

安装过程依赖 wget,如系统无 wget 命令请自行安装。Alpine Linux 使用 wormhole 需要安装 gcompat: "apk add gcompat"。

安装

wget -O - 'https://raw.githubusercontent.com/wy580477/Simple_VPS_Tools/main/install.sh' | sh

如需更新,重新执行安装命令即可。

卸载

rm -f /usr/local/bin/ouch /usr/local/bin/btop /usr/local/bin/tcping /usr/local/bin/nexttrace /usr/local/bin/doggo /usr/local/bin/speedtest /usr/local/bin/wormhole /usr/local/bin/duf /usr/local/bin/gdu /usr/local/bin/fd /usr/local/bin/bat
## 命令示例
```console
# 解压缩:            
ouch d <文件>
# btop 系统资源监视:
btop
# TCP/HTTP/HTTPS Ping:
tcping 1.1.1.1 443
tcping [2606:4700::1111] 443
tcping http://www.google.com
tcping https://www.google.com
# 路由追踪:   
nexttrace <ip/域名>'
# DNS 查询:
doggo @udp://1.1.1.1 <domain> A AAAA --time
doggo @tcp://1.1.1.1 <domain> A AAAA --time
doggo @tls://1.1.1.1 <domain> A AAAA --time
doggo @https://1.1.1.1/dns-query <domain> A AAAA --time
# speedtest 网速测试:
speedtest
# 端到端加密文件传输:
wormhole send <文件/目录>
# 磁盘空间使用情况查看
duf
# 目录占用空间分析
gdu <path>
# 更容易使用的 find 命令
fd <字符串> <路径>
# 有代码高亮功能的 cat 命令
bat <文件>

鸣谢

simple_vps_tools's People

Contributors

wy580477 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.