Skip to content

A simple script to quickly launch common scripts/commands, relating to a Cloudbox environment.

Notifications You must be signed in to change notification settings

kieron/CloudCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 

Repository files navigation

CloudCommand

CloudCommand is a very simple script to quickly launch common scripts/commands, relating to a Cloudbox environment.

Install

The below will download the script, and place it into /opt/scripts.

curl "https://raw.githubusercontent.com/kieron/CloudCommand/master/CloudCommand.sh" > /opt/scripts/CloudCommand.sh; chmod +x /opt/scripts/CloudCommand.sh

Then it is advised you set an alias for easy launching, I use cc for example. Here is how to set the alias:

  1. Check your shell type by typing echo $SHELL. Depending what it says, use the instructions below:

Bash:

  1. nano ~/.bashrc
  2. Add alias cc="/opt/scripts/CloudCommand.sh"
  3. Run source ~/.bashrc to make the new alias available.

Zsh:

  1. nano ~/.zshrc
  2. Add alias cc="/opt/scripts/CloudCommand.sh"
  3. Run source ~/.zshrc to make the new alias available.

Updating

Updating instructions are similar to downloading currently, but with no cache, simply run:

curl -H 'Cache-Control: no-cache' "https://raw.githubusercontent.com/kieron/CloudCommand/master/CloudCommand.sh?$(date +%s)" > /opt/scripts/CloudCommand.sh; chmod +x /opt/scripts/CloudCommand.sh

About

A simple script to quickly launch common scripts/commands, relating to a Cloudbox environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages