Loading
Home › Computer Science Help › You are creating a shell based on the description given i...
Status: Completed

You are creating a shell based on the description given in Chapter 2 Part A (page 77) in the Kernel Projects book. Your shell will parse an input. The first argument is the command to be run. The entire command will be read from the user, after a prompt is printed out. Your command will be limited to 200 characters and it will have no additional spaces in the command. You need to place your program in a loop such that it will re-read a new command after the previous command has terminated. You must use the system calls fork, execv and wait. You may use the string functions strcat, strlen and strncmp. The rest should be done by hand. A starter filePreview the document has been provided that includes the recommended order in which you should complete each step of the program. It can be found in the Files page, as well as an example of printing the environment variables. Examples:

Date Posted: 06/11/2020
Category: Computer Science
Due Date: 13/11/2020
Instruction
You are creating a shell based on the description given in Chapter 2 Part A (page 77) in the Kernel Projects book. Your shell will parse an input. The first argument is the command to be run. The entire command will be read from the user, after a prompt is printed out. Your command will be limited to 200 characters and it will have no additional spaces in the command. You need to place your program in a loop such that it will re-read a new command after the previous command has terminated. You must use the system calls fork, execv and wait. You may use the string functions strcat, strlen and strncmp. The rest should be done by hand. A starter filePreview the document has been provided that includes the recommended order in which you should complete each step of the program. It can be found in the Files page, as well as an example of printing the environment variables. I have pictures, a starter file in C programming that will assist you with doing this assignment. I am unable to attach the files to this, but I can email to you. It will assist greatly. Thank you.
Bidders
committedwriter 5 years, 10 months ago
Rated 9.14 earned 89563.32 around 3017 assignments.
I am an expert in this subject with enormous experience Kindly consider my bid and I will timely deliver quality work that meets your expectation.
$150.00
  • Are you an expert in C Programming?
    User_32450 | Nov 06, 2020, 22:52 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
highquality 5 years, 10 months ago
Rated 8.77 earned 11734.44 around 327 assignments.
Dear client, I have read and understood the task requirements and I can assure you that I will deliver a WELL-RESEARCHED and a HIGH-QUALITY paper BEFORE the deadline. In addition, I promise to deliver a 100% plagiarism-free paper that meets all your expectations. Kindly assent to my bid. Thank you in advance
$500.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
truewriter 5 years, 10 months ago
Rated 9.26 earned 20430.87 around 562 assignments.
Greetings buddy! I am a professional writer, trainer, programmer, and editor with over five years of experience. Have my assurance that this assignment will be delivered EVEN BEFORE THE DUE TIME.NO PLAGIARISM AT ALL. I follow instructions as outlined. I never disappoint. You can trust me to provide a well-researched and scholarly assignment to you.
$150.00
  • hey! get in touch we work out this assignment when we have time friend
    truewriter | Nov 07, 2020, 19:24 PM
  • Hello, I will assign this second assignment to you. I have a starter file for both assignments to make it easier to do. This one should have the attached file.
    User_32450 | Nov 10, 2020, 16:16 PM
  • awesome friend, am on it
    truewriter | Nov 10, 2020, 16:29 PM
  • kindly if you have problem uploading the files create a google folder and include everything there as we are not allowed to share emails on the site
    truewriter | Nov 10, 2020, 16:40 PM
  • hello, kindly may you share the book please friend, am on this one I need to complete it when there is still time for you to review everything
    truewriter | Nov 10, 2020, 18:19 PM
  • The book that the instructor is talking about is Kernel Projects for Linux by Gary Nutt (out of print)
    User_32450 | Nov 10, 2020, 20:11 PM
  • I sent a link of the google folder for both of the assignments that contains all the information that the instructor has given me. Let me know if you need anything else. I do not have the book, but there is enough instruction in the starter files that should make it possible to complete.
    User_32450 | Nov 10, 2020, 20:12 PM
  • https://drive.google.com/drive/folders/1y8kjVm-6rFYhaM7Olk67XBWrgpIvCYwF?usp=sharing
    User_32450 | Nov 10, 2020, 20:13 PM
  • hello kindly edit the link to be viewed by anyone who has it please
    truewriter | Nov 10, 2020, 20:17 PM
  • it says this; You need access Ask for access, or switch to an account with access. Learn more
    truewriter | Nov 10, 2020, 20:18 PM
  • kindly edit the settings please
    truewriter | Nov 10, 2020, 20:34 PM
  • hello friend
    truewriter | Nov 11, 2020, 03:25 AM
  • go it thanks alot friend, am on it right away
    truewriter | Nov 11, 2020, 03:26 AM
  • kindly you can take pictures of the book on that particular chapter and send it too please, just create a folder and share the link please. humble regards
    truewriter | Nov 11, 2020, 04:01 AM
  • i got the book friend though they charged me, working on it
    truewriter | Nov 11, 2020, 08:09 AM
  • then on this one there is a code that you have to send for me to progress. check the screenshot have uploaded
    truewriter | Nov 11, 2020, 08:43 AM
  • . - Copy and paste the parser you wrote from Project Part 1 here - You may have to make a few modifictions to make it work with this function
    truewriter | Nov 11, 2020, 08:48 AM
  • #include <stdio.h> #include <stdlib.h> #include <string.h> void show(char *arg1, char *arg2); int main(int argc, char *argv[]) { if( argc == 3 ) { show(argv[1],argv[2]); // calling show method with command line arguments } else{ printf("Only two arguments Acceptable"); // if arguments are less or more than two } return 0; } void show(char *arg1, char *arg2){ //copying command line argument arg2 into str char *str = (char *) malloc(strlen(arg2)*sizeof(char)); strcpy(str,arg2); //second command line argument arg1 i.e. delimeter char ch = arg1[0];
    User_32450 | Nov 11, 2020, 20:44 PM
  • //creating string char* ss = calloc(10, sizeof(char) ); for(int i=0;i<strlen(str);i++){ //if str[i] is a delimeter it will print string before that delimeter and length of that string //will also blank the string ss if(str[i]==ch){ printf("%s length ",ss); printf("%lu\n",strlen(ss)); ss = calloc(10, sizeof(char) ); } //if delimeter is not found it will keep putting characters into string ss else{ char cha = str[i]; strncat(ss,&cha,1); } } //will print final value because for loop will miss this value printf("%s length ",ss); printf("%lu\n",strlen(ss)); }
    User_32450 | Nov 11, 2020, 20:44 PM
  • I will also include this in the folder since it seems to have copied weird.
    User_32450 | Nov 11, 2020, 20:45 PM
  • The parser is in the folder. That should be all you need. Appreciate it.
    User_32450 | Nov 11, 2020, 20:48 PM
  • and there is too a file am seeng needs to be used here {Area.java} kindly share it please friend
    truewriter | Nov 12, 2020, 02:46 AM
  • I am unsure of the file you speak of, where are you seeing this?
    User_32450 | Nov 12, 2020, 16:17 PM
  • Oh I found it.
    User_32450 | Nov 12, 2020, 16:18 PM
  • Putting all documents from this folder I found in the folder.
    User_32450 | Nov 12, 2020, 16:18 PM
  • I am not sure what all files you need, but I just included them all in the folder. Didn't know of these files till now. Thanks!
    User_32450 | Nov 12, 2020, 16:22 PM
  • hello friend, once i come across others which are needed i will massage you.
    truewriter | Nov 12, 2020, 16:52 PM
  • this one is done, kindly find the uploaded zip folder. get in touch incase of any concern. please once satisfied do not forget to release the payments. looking forward to more tasks. humble regards
    truewriter | Nov 12, 2020, 16:55 PM
  • Awesome it looks good to me! Appreciate it. I will release the payments now.
    User_32450 | Nov 12, 2020, 18:59 PM
  • Hello I have another assignment posted: As with the previous shell project, you must use the system calls fork, execv and wait. You may use the string functions strcat, strlen and strncmp.
    User_32450 | Dec 07, 2020, 20:40 PM
  • If you could message on it, so I could assign it to you if possible? I also got an email from Queen Bela about doing the assignment, we can do it that way as well.
    User_32450 | Dec 07, 2020, 20:41 PM
  • hello friend
    truewriter | Dec 08, 2020, 00:47 AM
  • checking for it friend
    truewriter | Dec 08, 2020, 00:47 AM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
komatsu 5 years, 10 months ago
Rated 8.8 earned 25673.74 around 681 assignments.
Hello, I understand your assignment requirements; it categorically falls in my area of interest and expertise. I guarantee you excellent work that will give us the highest attainable grade! I DELIVER IN TIME
$300.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
richwhite 5 years, 10 months ago
Rated 9.35 earned 20716.09 around 553 assignments.
Hello. Kindly consider my bid and rest assured I will deliver the best work; desired high quality. I have reviewed the instructions, and the paper falls under my specialization, and I will do thorough research to ensure it fits all the academic standards. Moreover, I have studied the unit in my course degree and done related papers in previous semesters thus you can expect the most real work from me. My work is always plagiarism free, delivered before the deadline and good graded_96% and above. Once assigned, I always maintain regular communication until you get the desired final result you ordered for. Please review my profile previous clients’ testimonial reviews for proof of my capabilities. Kind regards
$500.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
kingz 5 years, 10 months ago
Rated 9.4 earned 52183.12 around 1434 assignments.
Hello assign this one to me i can guarantee you an A grade
$500.00
  • Are you an expert in C Programming?
    User_32450 | Nov 06, 2020, 22:55 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
Kimwoods_d_924 5 years, 10 months ago
Rated 8.9 earned 9357.10 around 278 assignments.
Hello, kindly assign me this task. I will do it perfectly for you. And please let me know if you have any other task. I will still do it for you. We can surely work together. It will be my pleasure. Thank you
$320.00
  • Are you an expert in C Programming?
    User_32450 | Nov 06, 2020, 22:55 PM
  • Hello, yes i can do it for you
    Kimwoods_d_924 | Nov 06, 2020, 23:14 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
expert4u 5 years, 10 months ago
Rated 9.0 earned 77109.21 around 2331 assignments.
Hi, this is my area of expertise. Award me this project and you will be assured of quality work. Thank you
$300.00
  • Are you an expert in C Programming?
    User_32450 | Nov 06, 2020, 22:52 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
HavardGraduateWriter 5 years, 10 months ago
Rated 9.42 earned 51369.88 around 1959 assignments.
Hello, I am well conversant with this subject and I guarantee you excellent results delivered on time. Kindly consider my bid.
$200.00
  • Are you an expert in C Programming?
    User_32450 | Nov 06, 2020, 22:52 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
tutorforyou 5 years, 10 months ago
Rated 9.04 earned 17105.49 around 504 assignments.
I have read and understood the instructions of this order and I assure you that I will dedicate all my time and effort to deliver a high-quality paper that you need. I have all the necessary materials needed required to successfully complete this order. As you can see in my profile, I am HIGHEST RATED writer. If you approve my bid, I guarantee quality work that is 100% unique and plagiarism free. Thanks in advance
$400.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}