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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.