This repository contains my personal commands.
To install the commands, follow these steps:
- Clone this repository:
git clone <URL>
- Add the following line to your
.profile
:export PATH=$PATH":<PATH_TO_THIS_REPO>"
- Make sure that the commands are executable:
chmod +x <PATH_TO_THIS_REPO>/*
- Reload
.profile
with:source ~/.profile
- Install the required python packages (Python 3):
pip install -r requirements.txt
Right now there are:
hello
: prints "Hello, World!" (test command)aws-start <NAME>
: starts the AWS EC2 instance with the given nameaws-stop <NAME>
: stops the AWS EC2 instance with the given name
When you want to add a command command
, follow these steps:
- Create a new file
command
in this directory - Make it executable:
chmod +x command
- Reload
.profile
with:source ~/.profile