Find Jobs
Hire Freelancers

Operating Systems - Basic Linux/Unix Shell

₹600-1500 INR

Closed
Posted over 1 year ago

₹600-1500 INR

Paid on delivery
You need to design a simple shell that can handle three, internal commands – ‘cd’, ‘echo’ and ‘pwd’. These commands would be handled directly by the shell. Your shell should also be able to handle five external commands – ‘ls’, ‘cat’, ‘date’, ‘rm’ and ‘mkdir’. For these external commands you need to write individual programs to handle these commands. To handle these external commands, the shell should typically create a new process, using the fork() system ‘call and within each process you need to use the execl() family system call to run the individual program. The parent program must also wait for the child program to terminate using the wait() family of system calls. For each of these commands, you need not handle all the command line options. Two options per command is sufficient. You need to document which two options you are handling and need to demonstrate correct functioning of the command with respect to (atleast) your chosen options. You also need to handle corner cases such as invalid options (graceful degradation). 2. The second task would be the achieve the above functionality of the shell using pthread create() (instead of fork()) and system() (instead of execl() family of functions). The thread based execution would be performed if the command is followed by the characters, “&t”. The rest of the functionalities should remain the same. Note: you only need one set of external command programs which could be used with either versions of the shell, be it the that uses fork()/execl() or the one that uses pthread create()/system(). Detailed Description is given in the pdf.
Project ID: 35055806

About the project

6 proposals
Remote project
Active 1 yr ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average ₹1,833 INR for this job
User Avatar
Hello sir, I am an expert in C programming language and I am very familiar with operating systems I can build this Shell with all those commands Please contact me for more details Thank you
₹1,500 INR in 1 day
4.8 (11 reviews)
3.8
3.8
User Avatar
Hello, I am C, C++ programmer, the functions fork(), exec(), wait(), system() and pthread_create() has no secrets for me, Feel free to contact me. Regards.
₹4,000 INR in 1 day
5.0 (10 reviews)
3.1
3.1
User Avatar
Hi! I am OS and C/C++ expert and could help you to complete the tasks with high quality and in the least amount of time. I have full control of C and totally understood both of the tasks and could implement exactly as described. Looking forward working with you! Best regards, Adai
₹1,500 INR in 2 days
5.0 (3 reviews)
1.6
1.6
User Avatar
Hello I have gone through your project details and the work is DOABLE since its within my area of EXPERTISE.I will tackle the required guideline to deliver desired goal Please consider my bid. I will be waiting for your response.. lets connect. THANKS,
₹1,050 INR in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
i have experience about 3 years as a system administrator. I'm red hat system administrator certified. daily basis set-up node on AWS with public and private vps on the project requirements. good experience in monitoring tool garafan.
₹1,750 INR in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am currently pursuing my engineering and have completed these type of assignments and also I have completed Operating system in my previous semester. Therefore, I think I will be best suited for this assignment.
₹1,200 INR in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Noida, India
4.6
1
Member since Jul 31, 2022

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.