.\" Man page generated from reStructuredText. . .TH "FISH" "1" "Apr 29, 2020" "3.1" "fish-shell" .SH NAME fish \- the friendly interactive shell . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C fish [OPTIONS] [\-c command] [FILE [ARGUMENTS...]] .ft P .fi .UNINDENT .UNINDENT .SH DESCRIPTION .sp \fBfish\fP is a command\-line shell written mainly with interactive use in mind. This page briefly describes the options for invoking fish. The full manual is available in HTML by using the help command from inside fish, and in the \fIfish\-doc(1)\fP man page. The tutorial is available as HTML via \fBhelp tutorial\fP or in \fIfish\-tutorial(1)\fP\&. .sp The following options are available: .INDENT 0.0 .IP \(bu 2 \fB\-c\fP or \fB\-\-command=COMMANDS\fP evaluate the specified commands instead of reading from the commandline .IP \(bu 2 \fB\-C\fP or \fB\-\-init\-command=COMMANDS\fP evaluate the specified commands after reading the configuration, before running the command specified by \fB\-c\fP or reading interactive input .IP \(bu 2 \fB\-d\fP or \fB\-\-debug=CATEGORY_GLOB\fP enables debug output and specifies a glob for matching debug categories (like \fBfish \-d\fP). Defaults to empty. .IP \(bu 2 \fB\-o\fP or \fB\-\-debug\-output=path\fP Specify a file path to receive the debug output, including categories and \fBfish_trace\fP\&. The default is stderr. .IP \(bu 2 \fB\-i\fP or \fB\-\-interactive\fP specify that fish is to run in interactive mode .IP \(bu 2 \fB\-l\fP or \fB\-\-login\fP specify that fish is to run as a login shell .IP \(bu 2 \fB\-n\fP or \fB\-\-no\-execute\fP do not execute any commands, only perform syntax checking .IP \(bu 2 \fB\-p\fP or \fB\-\-profile=PROFILE_FILE\fP when fish exits, output timing information on all executed commands to the specified file .IP \(bu 2 \fB\-P\fP or \fB\-\-private\fP enables private mode, so fish will not access old or store new history. .IP \(bu 2 \fB\-\-print\-rusage\-self\fP when fish exits, output stats from getrusage .IP \(bu 2 \fB\-\-print\-debug\-categories\fP outputs the list of debug categories, and then exits. .IP \(bu 2 \fB\-v\fP or \fB\-\-version\fP display version and exit .IP \(bu 2 \fB\-D\fP or \fB\-\-debug\-stack\-frames=DEBUG_LEVEL\fP specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128. .IP \(bu 2 \fB\-f\fP or \fB\-\-features=FEATURES\fP enables one or more feature flags (separated by a comma). These are how fish stages changes that might break scripts. .UNINDENT .sp The fish exit status is generally the exit status of the last foreground command. If fish is exiting because of a parse error, the exit status is 127. .SH COPYRIGHT 2019, fish-shell developers .\" Generated by docutils manpage writer. .