Natural Language to Shell Commands
Press Ctrl+K (Cmd+K on macOS) in the terminal and type a natural language description of what you want to do. "Find all JavaScript files larger than 100KB," "kill the process running on port 3000," "compress all PNG images in the current directory." Cursor generates the correct shell command — find . -name "*.js" -size +100k, kill $(lsof -t -i:3000), find . -name "*.png" -exec pngquant {} \; — and displays it for your review before execution.
This feature is particularly valuable for commands you use infrequently — complex find/grep combinations, awk/sed transformations, Docker commands with many flags, and system administration tasks. Instead of searching Stack Overflow or man pages, describe your intent and get the exact command. The AI considers your operating system, current shell, and installed tools when generating commands. According to Stanford's computer systems course, developers spend an estimated 15-20% of terminal time looking up command syntax — AI command generation eliminates this friction entirely.