Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 523 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 523 Bytes

ai.sh

Forgot a command? Find it using AI, directly in your terminal.

Examples:

ai list programs using the most cpu
ai create tar gz of /folder
ai list all open network ports

How to Use

In ai.sh, replace your-api-key with your OpenAI API key
API_KEY="your-api-key"

Make the file executable:
chmod +x ai.sh

Copy script to your bin:
sudo cp ai.sh /usr/local/bin/ai

Run the script! Examples:
ai list programs using the most cpu
ai create tar gz of /folder
ai list all open network ports