how do i get out of the unix command top?

bolindilly

John Galt Member
when i type top in the terminal, i get the list of running processes. the chart always changes, and i can;t input text withouth the cursor returning to the beginning of the line... how do i get out of this?
 

Ondrej

Registered
Easy - just hit control and c in combination. This will quit most unix programs so be carefull with it's use.

Cheers!
 

bolindilly

John Galt Member
i want to get out of top so that the same terminal window is still open, and i'm still able to navigate my files. how?

bolindilly
 

eisnel

Registered
Bolindilly,

Typing control-c in the Terminal doesn't quit the Terminal, it just quits the process that you're currently running in the Terminal (it quits most things, not all though). So if you've got top running and you control-c, top will quit and you'll have your command prompt back. You can also suspent (is that the correct term?) the currently running program by typing control-z, this will bring the prompt back without quitting the program you had going. Then type fg to get back to the program you were running. Of course, as someone else recommended, you can have multiple Terminal windows open, so you can leave one up just for displaying top.
 

eisnel

Registered
Bolindilly,

Typing control-c in the Terminal doesn't quit the Terminal, it just quits the process that you're currently running in the Terminal (it quits most things, not all though). So if you've got top running and you control-c, top will quit and you'll have your command prompt back. You can also suspent (is that the correct term?) the currently running program by typing control-z, this will bring the prompt back without quitting the program you had going. Then type fg to get back to the program you were running. Of course, as someone else recommended, you can have multiple Terminal windows open, so you can leave one up just for displaying top.
 
Top