Bash 리눅스
원문: bash-linux
Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.
무엇을 하나요
Bash Linux Patterns Essential patterns for Bash on Linux/macOS. 1. Operator Syntax Chaining Commands | Operator | Meaning | Example | | | | | | ; | Run sequentially | cmd1; cmd2 | | && | Run if previous succeeded | npm install && npm run dev | | \|\| | Run if previous failed | npm test \|\| echo "Tests failed" | | \| | Pipe output | ls \| grep ".js" | 2. File Operations Essential Commands | Task | Command | | | | | List all | ls la | | Find files | find . name " .js" type f | | File content | cat file.txt | | First N lines | head n 20 file.txt | | Last N lines | tail n 20 file.txt | | Follow log | tail f log.txt | | Search in files | grep r "pattern" include=" .js" | | File size | du sh | | …
실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.