creating a shell interface in Java by using processes

Job ID: 32359270

Budget: €8 – €30 EUR

Shell interface provides the user with a prompt, after which the user enters the next
command. The example below illustrates the prompt ‘prompt>’ and the user’s next command: ‘cat
Prog.java’. This command displays the file ‘Prog.java’ on the Terminal using the ‘cat’ command.
prompt> cat Prog.java
Perhaps the easiest technique for implementing a shell interface is to have the program first read
what the user enters on the command line (here, cat Prog.java) and then have the program create a
separate external process that performs the command

** i will send you the proper pdf so u can understand