Write the Towers of Hanoi program as a shell script. There are two basic
strategies: run the shell script recursively as $0, or write a recursive shell
function.

Alan, you are on a roll here! See my other reply to your posting about shell programming. Once again, we don't do your homework for you, but will help you once you have made some progress in writing the program. FWIW, this problem is not trivial. Complete the other one first, and then try to tackle this one.

Your professor is challenging you. Are you up to the task? This is a serious learning experience.