Coder Social home page Coder Social logo

josselinsomervilleroberts / josscustomcommands Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3 KB

Custom commands for Ubuntu used for my work. This includes commands to start and stop with a single command some AWS EC2 instances

Python 56.42% Shell 43.58%
aws command-line-tool python

josscustomcommands's Introduction

Custom commands

This repository contains my personal commands.

Installation

To install the commands, follow these steps:

  1. Clone this repository: git clone <URL>
  2. Add the following line to your .profile: export PATH=$PATH":<PATH_TO_THIS_REPO>"
  3. Make sure that the commands are executable: chmod +x <PATH_TO_THIS_REPO>/*
  4. Reload .profile with: source ~/.profile
  5. Install the required python packages (Python 3): pip install -r requirements.txt

Current commands

Right now there are:

  • hello: prints "Hello, World!" (test command)
  • aws-start <NAME>: starts the AWS EC2 instance with the given name
  • aws-stop <NAME>: stops the AWS EC2 instance with the given name

Adding a new command

When you want to add a command command, follow these steps:

  1. Create a new file command in this directory
  2. Make it executable: chmod +x command
  3. Reload .profile with: source ~/.profile

josscustomcommands's People

Contributors

josselinsomervilleroberts avatar

Stargazers

 avatar

Watchers

 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.