prepare a linux shell in other words write a cc


Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as
yourRollNumber-currentDirectoryName>

For instance if the current directory is /home/OS, the shell should prompt as: B-12345-OS>

For example purpose, consider the following file structure, the current working directory is named as OS and it contains a file hogwarts.txt and two sub-directories called teachers (which has two files called dumbeldore.txt and snape.pdf) and students (which has a subdirectory called gryffindor which has a file called harry.vlc)

200_Create a linux shell.png

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: prepare a linux shell in other words write a cc
Reference No:- TGS0443218

Expected delivery within 24 Hours