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. Write a program that figures out how long it will take to pay off a credit card by making payments of $10 each month. Take care to avoid infinite loops. (How would a bank preven

would you like to see some of my code. I am trying to do an add friend request. when I view my friends page I click on the add button. with ajax I want the script to send over the

Expertsmind brings you unique solution in java assignments Applet In processing, and the apple company is any little application that works one specific process that works

i need a coding to glow 8 LEDs on a port with pwm effect

In this assignment, you will design a program to perform the following task: Calculate the total price to purchase all the components required to build a state-of-the-art gaming c

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

C++ language introduces object-oriented programming (OOP) features to C language. It offers classes, which provide the four features commonly present in OOP (or some non-OOP) langu

fow to I write a emplate that reads a set of numbers typed at the keyboard into an array of T

write a program to find the output 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1