The top command displays Linux/Unix processes in your Terminal app. You get a dynamic real-time view of a running system. Use top command to see and update information about the top cpu processes on your server. To start top command, just type:
$ top [options]
How to exit from top command on Linux/Unix-like system
When top is run in interactive (non-logging) mode, it is possible to control the output of top, as well as interactively send signals to processes. When operating top, the two most important keys are help (h or ?) and quit (q) key.
top command option to quit session
You need to just press q (small letter q) to quit or exit from top session.
Alternatively, you could simply use the traditional interrupt key ^C (press CTRL+C) when you are done with top command.
Getting help with top command
To display help just press ?
Related media (Video) – Exit from top command
This tutorial is also available in a quick video format:
(Video 01: How to exit from top command)
- How To Exit From top Command In Linux / Unix / BSD / OS X
- How To Exit Vim Text Editor Command
- Vi / Vim: Save And Quit The Editor Command
- How to reload .vimrc file without restarting vim on Linux/Unix