I am a new Linux and Unix system users. I was told to use the top command to display and update sorted information about processes. I do not know how to exit from top command. I simply close the Terminal app. How do I exit from top command without closing my Terminal on Linux/Unix-like operating systems?
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.