Manage a Mock FileSystem in JAVA
In this problem you will create code to manage a directory tree andprovide the user with a basic subset of commands for doing so. Wewill model this assignment on the Unix command line.
There are two things to keep track of: the directory treestructure and the current directory that the user is in. Initially,there is only the root directory, which has the empty string forits name. The user may create subdirectories of the currentdirectory (i.e., children) by issuing “mkdir” command; deletesubdirectories by issuing “rmdir” command; and change the currentdirectory to a subdirectory by issuing a “cd”
OR
OR