fish

fish

TLDR

Start an interactive shell session

$ fish
copy

Execute a command and then exit

$ fish -c "[command]"
copy

Execute a script

$ fish [path/to/script.fish]
copy

Check a script for syntax errors

$ fish --no-execute [path/to/script.fish]
copy

Start an interactive shell session in private mode, where the shell does not access old history or save new history

$ fish --private
copy

Display version information and exit

$ fish --version
copy

Set and export environmental variables that persist across shell restarts (from within the shell only)

$ set -Ux [variable_name] [variable_value]
copy

Copied to clipboard
Binance