Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Switching and moving around directories from the command line is awkward in the shell, and I want to use an utility like Midnight Commander to move between directories.

In effect I want to use MC to navigate to a directory, than close it or hide it in some way so I have access to the normal shell prompt.

Does it have that option?

share|improve this question
up vote 2 down vote accepted

Ctrl-O hides the panels temporarily.

share|improve this answer
I wanted to know how to do an equivalent of cd so I could exit mc and be in that directory, but Ctrl-O is good enough. It beats excessive and awkwared cd commands – vfclists Sep 18 '12 at 13:52
NOTE that CTRL-O in effect starts a NEW shell, under MC's control. This may not behave entirely like you would expect a new shell to behave. MOst distros include an mc start script that preserves the CWD on exit, though - so check if you already have this. – adaptr Sep 21 '12 at 11:20
Staying in the selected directory in MC is what I want prefer or at least have it as an option. Ubuntu Lucid reverts to the directory I started MC in and I want the option of staying in the selected directory – vfclists Sep 21 '12 at 12:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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