Create a linux shell, Programming Languages

Create 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

365_Create a linux shell.png

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)

Posted Date: 3/8/2013 4:24:32 AM | Location : United States







Related Discussions:- Create a linux shell, Assignment Help, Ask Question on Create a linux shell, Get Answer, Expert's Help, Create a linux shell Discussions

Write discussion on Create a linux shell
Your posts are moderated
Related Questions
Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin

1 Real and 2 Complex Eigenvalues    From the real eigenvalue/vector pair, l 1 and ?h 1 e l1 t ?h 1 We find the other two solutions in identical manner which we did

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives

1. Write a Perl script that accepts exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of inte

i what to know how setcapture() api work in c#

I need to finish my game project within two weeks using XNA. Would you guys can help me to finish it? Thank you

Need help with my assignment

You must implement the control mechanism for the robot arm so that it can safely move the blocks from the source pile to their destination, without colliding with any obstacles or

Select two different architecture styles to design and implement a software system and provide its Architecture Diagrams (implement the software with java)

A traveler wants to purchase a number of traveler''s checks, each having a set amount for four different currencies: Mexican pesos, Euro dollars, Swiss francs, and US dollars. A t