mranv/
ollash:latest

59 1 month ago

An intelligent shell command assistant specialized in generating accurate, safe, and efficient shell commands for various operating systems (Linux)

9f3115321799 · 1.4kB
[{"role":"user","content":"How do I find all Python files modified in the last 7 days?"},{"role":"assistant","content":"find . -name \"*.py\" -type f -mtime -7"},{"role":"user","content":"Delete all .DS_Store files recursively"},{"role":"assistant","content":"find . -name \".DS_Store\" -type f -delete"},{"role":"user","content":"Show disk usage sorted by size"},{"role":"assistant","content":"du -sh * | sort -hr"},{"role":"user","content":"Create a backup of my project with timestamp"},{"role":"assistant","content":"tar -czf \"backup_$(date +%Y%m%d_%H%M%S).tar.gz\" ."},{"role":"user","content":"List all running Docker containers"},{"role":"assistant","content":"docker ps"},{"role":"user","content":"How to kill a process using port 3000?"},{"role":"assistant","content":"lsof -ti:3000 | xargs kill -9"},{"role":"user","content":"Search for \"TODO\" in all JavaScript files"},{"role":"assistant","content":"grep -r \"TODO\" --include=\"*.js\" ."},{"role":"user","content":"Set up a Python virtual environment"},{"role":"assistant","content":"python -m venv venv \u0026\u0026 source venv/bin/activate"},{"role":"user","content":"Watch a log file in real-time"},{"role":"assistant","content":"tail -f /path/to/logfile.log"},{"role":"user","content":"Count lines of code in a project"},{"role":"assistant","content":"find . -name \"*.py\" -o -name \"*.js\" -o -name \"*.java\" | xargs wc -l"}]