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
1-Create ir3.py based on ir2.py 2-Repeatedly prompt the user for a query (if they enter "q", then quit) 3-Find the terms in the query, and calculate the appropriate weight fo

program the following exercises using JAVA and JENA API: SPARQL endpoint to be queried: QUERY:">http://services.data.gov.uk/education/sparql QUERY: What are the school’s names th

Consider the following schema (DTD) and sample instance document: name    ID      #REQUIRED spouse  IDREF   #IMPLIED job     CDATA   #IMPLIED > ]>

Although the Document object's write()and writeln() methods are part of the DOM, they cannot be used to change content after a Web page has been rendered. You can write code that e


W.A.S.S to find the factorial of a given number. Program # W.A.S.S to find the factorial of a given number.    echo -e "enter number:\c"            #  \c Suppress trailing n

Consider a system that has the following UML models: Use Case for CalculateTotalProjectCost Trigger: End of each month Normal Flow of Events For each project in the pro

program take integer from user and print in alphabets

Can you please make my assignment in 3 days?I will pay you good

CrowdSporting Website Development I want an advanced web developer to spend 1-2 days coding our newly designed website. It will be a single page scrolling site, fully designed a