mirror of https://github.com/CrimsonTome/tldr.git
28 lines
392 B
Markdown
28 lines
392 B
Markdown
|
# fish
|
||
|
|
||
|
> A command-line shell for the 90's
|
||
|
|
||
|
- Start interactive shell:
|
||
|
|
||
|
`fish`
|
||
|
|
||
|
- Execute a command:
|
||
|
|
||
|
`fish -c "{{command}}"`
|
||
|
|
||
|
- Run commands from a file:
|
||
|
|
||
|
`fish {{file.fish}}`
|
||
|
|
||
|
- Check a file for syntax:
|
||
|
|
||
|
`fish --no-execute {{file.fish}}`
|
||
|
|
||
|
- Display version information and exit:
|
||
|
|
||
|
`fish --version`
|
||
|
|
||
|
- Enable debug information (ranges from 0 to 128):
|
||
|
|
||
|
`fish --debug-stack-frames={{NUMBER}}`
|