Midnight commander: Exit mc to the last working directory

Add the following to your .bashrc:

source /usr/share/mc/bin/mc.sh

For details, see:

man mc

Check the description of option -P


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.