2018-01-02 18:00:12 +00:00
|
|
|
# fish
|
|
|
|
|
2018-01-03 04:36:52 +00:00
|
|
|
> The Friendly Interactive SHell.
|
2018-02-11 13:15:58 +00:00
|
|
|
> A command-line interpreter designed to be user friendly.
|
2018-01-02 18:00:12 +00:00
|
|
|
|
|
|
|
- Start interactive shell:
|
|
|
|
|
|
|
|
`fish`
|
|
|
|
|
|
|
|
- Execute a command:
|
|
|
|
|
|
|
|
`fish -c "{{command}}"`
|
|
|
|
|
|
|
|
- Run commands from a file:
|
|
|
|
|
|
|
|
`fish {{file.fish}}`
|
|
|
|
|
2018-01-06 02:19:37 +00:00
|
|
|
- Check a file for syntax errors:
|
2018-01-02 18:00:12 +00:00
|
|
|
|
|
|
|
`fish --no-execute {{file.fish}}`
|
|
|
|
|
|
|
|
- Display version information and exit:
|
|
|
|
|
|
|
|
`fish --version`
|