As discussed at the latest JLUG meeting, here is how I make midnight commander change to the last used directory when it is exited. You want to add this alias to /etc/profile or a user specific profile. alias mc='. /usr/share/mc/bin/mc-wrapper.sh' What mc-wrapper.sh does is call mc with the -P PathFileName option. The -P option causes mc to write the last used directory name to the specifed file upon exit. The script then uses the file to change to that directory. This works with Debian Lenny. ------------------------------------ The Juneau Linux Users Group -- http://www.juneau-lug.org This is the Juneau-LUG mailing list. To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the word unsubscribe in the subject header.