10 lines
411 B
Markdown
10 lines
411 B
Markdown
# Shell & OS Rules
|
|
|
|
- Always use bash/sh syntax for terminal commands, never PowerShell
|
|
- Use `cp` instead of `Copy-Item`
|
|
- Use `mv` instead of `Move-Item`
|
|
- Use `rm` instead of `Remove-Item`
|
|
- Use `mkdir -p` instead of `New-Item -ItemType Directory`
|
|
- Use `cat` instead of `Get-Content`
|
|
- Use forward slashes `/` in paths, never backslashes `\`
|
|
- Do not use `$env:` for environment variables, use `$VAR` syntax |