Prepare a linux shell in other words write a cc program

Assignment Help C/C++ Programming
Reference no: EM13347707

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

Reference no: EM13347707

Questions Cloud

Description in the process of processor development : description in the process of processor development functional verification is a crucial step that must be conducted
Unlike c other programming languages have associative : unlike c other programming languages have associative arrays that allow array indices to be strings instead of just
1 identify and explain the weakness in lehmans governance : 1. identify and explain the weakness in lehmans governance practices.a. what was the quality of the reporting to the
Prepare a program for a company named retail-martbullprompt : prepare a program for a company named retail-mart.bullprompt the user to enter an item name one word only a quantity
Prepare a linux shell in other words write a cc program : prepare a linux shell in other words write a cc program that will recursively prompt for input from the user. the shell
Question 1 two friends joe and bill both have carpentry : question 1 two friends joe and bill both have carpentry skills and decide to go into business as partners together
Part 1sovereign mines is a large mining firm considering : part 1sovereign mines is a large mining firm considering the purchase of a new drilling machine. the machine will be
Question 1 value drivers and horizon value of constant : question 1 value drivers and horizon value of constant growth firmyou are given the following forecasted information
Nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp nbsp : nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp nbsp nbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp comprehensive

Reviews

Write a Review

C/C++ Programming Questions & Answers

  C program that compare the time required

Write a C program that compare the time required to compute the product of two 10,000 x 10,000 matrices with and without optimization for locality.

  First display the smallest volume and then the largest volum

first display the smallest volume and then the largest volume.

  Smallest sequence of numbers in the array

Write a function called sum_smallest_sequence() that accepts an array of  signed  integers and the  number  of items in the array as arguments, and returns the sum of the smallest sequence of numbers in the array.

  Write a c program that asks for and reads in two integers

Write a C program that asks for and reads in two integers and then reports if one is a multiple of the other.

  Declare a 1-dimensional array of integers

In pseudocode and in C code, declare a 1-dimensional array of Integers called InternetHits that will hold up to 10 Integer values representing the number of hits a Web site receives.

  Our string class always deletes the old character

Our String class always deletes the old character buffer and reallocates a new character buffer on assignment or in the copy constructor. This need not be done if the new value is smaller than the current value

  Maze program

Maze program. In this assignment you will represent a maze with a binary tree. . The starting point is node N and the ending point is node Z.

  Random permutations

Write a program in C++ that gives a prompt to the users, asking for an integer M.It then prints out a M different random permutations, one on each of M lines, of the numbers 1, 2, ... , 10, separated by spaces or tabs.

  Skills required by personnel working in information security

What skills are required by personnel working in information security? Write down some job titles in the field and come up with some required qualifications and some desirable qualifications.

  Create a file, shared.txt

When your program starts, it shall do the following:1. Create a file, SHARED.txt, in the current directory (cwd). 2. Write it's pid (Process ID) followed by a Carriage Return and Newline in the file.

  That reads ten numbers from input and prints

Write a C program that reads ten numbers from input and prints them in reverse order. We assume that the data consists of integers. The program should conform to the following format

  Multiple choice question on c programming

Create a function to print "88 is a great port number" function name is yourName_PrintFunction no input no return type print "88 is a great port number"

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd