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
analyse the information need in the different functional area in any organization

JavaScript is "Object Oriented" like C++ or Java. (Note that Java and JavaScript are not the same language, which is a common misconception) It also has variables, which makes Java

How to i write a car rental program in jgrasp

Write a booking and pricing system for seats for performances in a theatre. Design and write a system to handle information (equipment, people, events etc.) for a club. Given

Hi how can I upload my hw to you experts?

a) Write a program i_language(Sentence,NewSentence) that translates a sentence to the i-language. In this language all vowels are changed to i and all other characters are kep

What is Data Normalization and Schema Refinement? Define briefly..

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

The ?rst task in the project is to develop a sane system to store change logs and versions of ?les. The simplest approach is to create a "dot" directory in the location of the ?le

Write a Program to Show Twenty Ellipses 1. Write a program to show twenty ellipses which move away from the mouse pointer. Their initial locations should be random.