I am learning command top, know how to change color and columns mod, switch from one mode to another. After closing top's window and running again, all comes to default configuration - 4 default modes of columns and colors . Is there any way to save changes befor closing top's window.


Once you have your configuration set the way you want, type W (that is a capital W) and your configuration will be saved.

From the top manpage:

´W´ :Write_the_Configuration_File

This will save all of your options and toggles plus the current display mode and delay time. By issuing this command just before quitting top, you will be able restart later in exactly that same state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.