The task is to use the ANSI C language to write a simple shell program - Micro shell. This program should accept commands at the input and then perform actions according to their content. The coating should:
display a prompt in the form [{path}] $, where {path} is the path to the current working directory,
handle the cd command, working analogically to the one known from the bash shell,
to handle the exit command, terminating the shell program,
handle the help command, displaying on the screen information about the author of the program and the features it offers,
support two other, arbitrarily selected shell commands (this is for example about your own, simple, simple implementation of two commands, eg cp,
to take commands that refer to the scripts and programs found in the directories described by the value of the PATH environment variable and allow these scripts and programs to be called with arguments,
print an error message when the command can not be interpreted correctly.
In addition, 2 points are awarded for additional gadgets (depending on the complexity of the problem), e.g. displaying the login of currently logged in user, handling colors, handling arguments in quotes, sensible handling of signals (eg Ctrl + Z), handling command history, etc.
The Makefile file must support the make and make clean commands.
Hey there,
the shell will be implemented as required.
Will you please specify the runtime, VC++/UWP or gcc/*nix?
I do development with C++,
for engineering native solutions.
How soon should we have this be done?
Regards,
- Vipul.
I am confident I am the right candidate for this project as I have done many similar projects in the past. With years of experience in this field, I believe this project will be very easy for me.
Hello I am a C/C++ programmer of 10+ years of experience. I can implement the following capabilities in 3 days for € 29:
-commands: cd, ls, cp
-executing other commands in PATH
-display login of current user (i.e whoami command)
-handling arguments in quotes
-command history
I assume OS is Linux.
Best Regards
Hello.
I can deliver this project in 24 hours. I have graduated from Computer Engineering. The main programming language we were using in college was C and we were following the ANSI standard. Believe me, I have developed a similar project in my OS course.
If you give this project to me, we talk about other details (like the two arbitrarily selected commands) of the project at the beginning and then I start immediately.
Hope to work with you.
Ömer
Hi! How are you? I want to help you with this program. I want to know more details about the shell. It's like bash commands, right? I have more than 3 years of experience with software development. Let's talk about it!