Forgot a command? Find it using AI, directly in your terminal.
ai list programs using the most cpu
ai create tar gz of /folder
ai list all open network ports
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