Leaving Stopped Jobs

The Korn shell displays a warning message if you try to exit from the shell while jobs are stopped.

					$ stty tostop
					$ date &
					[1]   541
					[1] + Stopped(tty output)      date &
					$ exit
					You have stopped jobs
				

If you ignore this message and exit, the Korn shell will not attempt to warn you again and any stopped jobs will be terminated.

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.