How to create custom shell/command line in java

I am a beginner Java programmer and I got an idea to develop a program like “cmd” in windows or shell in Linux.

I want to create a program and I will separately provide commands that my program can execute, like “Linux” shell is a program and ls is a command,

I need an idea about the structure of program.

Thanks in advanced.

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.