Zend certified PHP/Magento developer

Managing histories via multiple “files.txt” files? [duplicate]

Is it possible to save different command histories in different files.txt?

And is there anyway to load one of them in the current session to use it with up key down key and F7?

Just an easy way to switch between those different histories?