Skip to content

xqwtxon/connect.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect.sh

A Powerful URL Connect Test

Usage

Options Description Usage Status
--help, -h Displays Command Information connect --help [command_name]
--silent, -s Silent Mode Connect Test connect --silent https://example.com/
--progress, -p Show Progress Bar Connect Test connect --progress https://example.com/
--no-exit, -n Prints ONLY Status Code. connect --no-exit https://example.com/
--verbose, -b Prints ONLY Debug Connect Test. connect --verbose https://example.com/
--version, -v Prints the Software Version connect --version
--update, -u Update the Software connect --update

Installation

  • Run the following command to install the following items:
    curl -sL https://raw.githubusercontent.com/xqwtxon/connect.sh/stable/src/connect/setup.sh | bash -s -
  • It will install the following requirements.
  • When installation is done, you can now start executing: connect --help!

Updating

Upgrading to Latest should be online.

  • Run the following command connect --update
    • If you are using v0.0.1, execute the following command:
      curl -sL https://raw.githubusercontent.com/xqwtxon/connect.sh/stable/src/connect/update.sh -o "update.sh" && chmod +x "update.sh" && bash "update.sh" --update
  • Enjoy, use the 'connect --version' to check version!
    • If you're experiencing Permission Denied on cp, that means you must resolve the permissions between $PREFIX/bin.

Connection Test

Use the following command to test connection on the url.

Warning

If your url doesnt start with https:// or http:// or with . that is not valid url

connect https://example.com

Note

You can use connect -p https://example.com to check connection whether bad or ok.