Roll back to a known-good layout.
Section: Configuration file basics
Restore a previous config
bash
bash
cp ~/.config/htop/htoprc.bak ~/.config/htop/htoprcExplanation
Useful if an experimental config becomes unreadable or inconvenient.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Configuration file basics
Save settings through the UI
Use setup and exit cleanly so preferences persist.
Adjust display options
Tune behavior such as tree behavior, meter style, and visual density.