- Clone the repository
git clone https://github.com/iYasha/ecs-exec.git
- Change directory to the cloned repository
cd ecs-exec
- Make the script executable
chmod u+x ecs-exec
- Run the script
./ecs-exec
To add the script to the PATH, run the following command:
For bash:
echo 'export PATH="$PATH:'"$(pwd)"'"' >> ~/.bashrc && source ~/.bashrc
For zsh:
echo 'export PATH="$PATH:'"$(pwd)"'"' >> ~/.zshrc && source ~/.zshrc