exit(1) - Linux man page

Name

exit - exit the shell.

Synopsis

exit [STATUS]

Description

The exit builtin causes fish to exit. If STATUS is supplied, it will be converted to an integer and used as the exit code. Otherwise the exit code will be that of the last command executed.

If exit is called while sourcing a file (using the . builtin) the rest of the file will be skipped, but the shell itself will not exit.

Referenced By

allegro_message(3), brlapi_socketportnum(3), calibrate_joystick(3), close(3), dlopen(3), evp_digestinit(3), funcalc(1), funopen(3), giiopen(3), hsearch(3), imclient(3), ipq_set_mode(3), lft(8), libipq(3), libsmi(3), mhash(3), ncftpspooler(1), ne_version_match(3), open(3), perlcall(1), perlembed(1), perlhack(1), pfm_dispatch_events(3), pj_init(3), popt(3), pthread_mutexattr_init(3), qio(3), scons(1), sdl_creatergbsurface(3), semget(3), semop(3), tk_parseargv(3), tsearch(3), udpm(3), unlink(3), val_getaddrinfo(3), val_gethostbyname(3), val_query(3), vcsa(4), whob(8)