Linux Commands - pyohamen/TIL GitHub Wiki
Linux Commands
Even if you don't deal with Linux, you'll encounter Linux commands while programming. So I tried to understand Linux commands that I met every time and recorded the usage examples.
| command | discription | Example |
|---|---|---|
| alias | λͺ λ Ήμ΄ κ°μν | $ alias va="source venv/bin/activate" |
| echo | μΆλ ₯ | $ echo 'this is a test' -> this is a test |
| . / source | μ€ν | $ source .venv/bin/activate |
| > | λͺ λ Ήμ΄ λ€μ λμ€λ νμΌμ wite, overwrite | $ echo 'hello' > text.txt |
| >> | λͺ λ Ήμ΄ λ€μ λμ€λ νμΌμ μΆκ° | $ echo 'hello' >> text.txt |
| pwd | νμ¬ κ²½λ‘ μΆλ ₯ | $ pwd |