Đã hoàn thành

problem in c coding

In the first part of the assignment we have to create a shell which will accept a string consisting of 2 commands. The commands will match with applications which are already on Unix in the folder /bin.

The program mast support the :

[login to view URL] an application and display effects on the screen

[login to view URL] data from one application to another (by using pipes )

[login to view URL] an application and storing the results in a file( using exit redirection)

Use to indicate pipe symbol | and >> for redirection output.

General string form:

[ command1 ] [ arguments ] [ | or >> ] [ command2 ] [ arguments ]

Operating Examples 1:

• ls – l

• pwd

• rm [login to view URL]

• / home / user / add 2 3

(even add your own program that displays the sum of the numbers given as arguments)

Operating Example 2:

• ls -l | ./show

(even show your own application that displays the result of ls -l between #)

Operating Examples 3:

• ls >> [login to view URL]

• pwd >> [login to view URL]

Also the shell you create should accept commands to be executed in 2 different ways

1. As arguments to main () during its execution, where in this case it will only run once and execute only one command.

2. Using an input function (scanf (), fgets (), ...), in which case it will run continuously and terminate when the "exit" command is given.

!!!!!!!COMMENTS!!!!!!

• It is forbidden to use the system () function.

• Implementation involving the use / call of a ready shell is unacceptable

(such as sh, bash, etc.)

The second part of the project is about implementing a client - server application (TCP / IP). The server will run the shell you implemented above and serve client requests that correspond to commands your shell can execute. After executing the command the results will be returned to the client.

COMMENTS

• For the implementation of the client - server application you should use sockets (attention to the way of communication and the type of socket for the implementation of TCP / IP).

• The server should run continuously

Kĩ năng: Lập trình C, Lập trình C++, Kiến trúc phần mềm, Lập trình C#, PHP

Xem nhiều hơn: c coding project needs small change in coding today, c++ coding project needs small change in coding today !!, Coding in C, coding in c++, freelance coding in ovjectibe c, Coding in c language, freelance job projects in c# coding, write an article to be published in national newspaper in your contry disscuss the problem facing farmers in the pdoduction of c, coding in java /c, program coding in c++, coding in c#, animation coding in c++, thermal printer coding in c#, software coding in c++, huffman coding in c, simple huffman coding in c, how to learn coding in c language, competitive coding in c++, neural network coding in c++, c coding in excel

Về Bên Thuê:
( 3 nhận xét ) Thessaloniki, Greece

ID dự án: #22779584

Được trao cho:

AlexeiArtyomov26

Hi. I have read requirement carefully. I am sure to satisfy your requirement perfectly in a short time. I am strong in Math and Algorithms and Machine learning. I am a ACM competitor. Moreover I have much experience in Thêm

€50 EUR trong 7 ngày
(12 Đánh Giá)
4.7

23 freelancer đang chào giá trung bình €129 cho công việc này

chomsengdev

Hello sir, how are you? I have read your project description and I am interested in the project. As you can see my profile, I am a full-time developer and have just completed many projects. Specially, I have wide e Thêm

€200 EUR trong 2 ngày
(15 Nhận xét)
5.8
FreeXXM

Hello! I saw your project details and very interested in it. I have rich experience in developing C/C++ programs for +8 years. If you hire me, you will receive satisfied result. I can work right now and full time for y Thêm

€50 EUR trong 7 ngày
(7 Nhận xét)
5.7
mtdevil369

Hi, I have understand the project requirement & interested to work for this project. I will start right now and I will do it within 12 hours. Please send a message so we can discuss more & start the project. Thanks.

€110 EUR trong 1 ngày
(26 Nhận xét)
5.0
michaels225

Hi, sir I have rich experience with C/C++ and Data structure and Algorithm. Also, APIs are really talent skills for me. So, I am absolutely sure that I can do the project very well. Let's discuss more via chat Thank Thêm

€50 EUR trong 2 ngày
(34 Nhận xét)
5.3
alexandrlupa

Hi, sir. I am a software developer with C++, Python for 15 years. I can work by full time for your project and trying to satisfy the requirements. I want to keep a long-term relationship for customer so I want to g Thêm

€140 EUR trong 7 ngày
(9 Nhận xét)
4.6
BeshoyMousaKhair

hi , it's an easy task and i can do it as required and in time. thanks in advance .

€120 EUR trong 7 ngày
(43 Nhận xét)
4.7
Intel1994

Hello,sir.I read your project description. I can perfectly complete your project in a short time. I am strong in Math and Algorithms and Machine learning.I am a ACM competitor.I am prophicient in Matlab and R programmi Thêm

€140 EUR trong 7 ngày
(6 Nhận xét)
4.3
Exceleron99

Hey, I'm interested in your project. Please send me a message so that we can discuss more through the live chat system!

€140 EUR trong 3 ngày
(7 Nhận xét)
4.5
ShenAizhen

⭐⭐⭐⭐⭐ Greetings Dear Client! ⭐⭐⭐⭐⭐ Professional C/C++ developer is ready for your project! I have gone through your description and I'm very interesting as an expert in this field. I'm developing C/C++ program for 10+ Thêm

€140 EUR trong 2 ngày
(11 Nhận xét)
4.5
bobga2019

Greetings! I have gone through project and I know what you are looking for. I have done similar work in the past, so it won't take much of your time. Do not pay me until you get full satisfaction. I am looking forward Thêm

€200 EUR trong 3 ngày
(7 Nhận xét)
3.9
Neundertalets

Hello, dear. I have read your description carefully. I can understand your requirement. I can solve your C code problem. Please contact me and discuss over chat. Thanks.

€110 EUR trong 3 ngày
(5 Nhận xét)
4.0
Prakhark19

Hello there, Myself Prakhar, i am working in Python,c and c++ for last 3 years. I have read your description thoroughly and i am confident that i can do this easily. Let's discuss further in personal chat. Regards Prak Thêm

€222 EUR trong 2 ngày
(14 Nhận xét)
3.7
doctorkendrick20

I can help you get this done. I have skills in PHP, C Programming, C# Programming, Software Architecture, C++ Programming

€150 EUR trong 5 ngày
(3 Nhận xét)
3.7
AntonIvanov0127

Language : ----- C++, C#, Python, Qt, Matlab, Java, VB----- Skill : High and low desktop application Project reversing, Multi-threading, System management Machine learning, Deep learning Im Thêm

€140 EUR trong 7 ngày
(5 Nhận xét)
3.6
bravemaster701

Hello sir. We are interested in your project. We are highly experienced C programming. And you can check our portfolio. Please hire me. Thank you.

€100 EUR trong 7 ngày
(10 Nhận xét)
3.4
Augustjohn

Hi Dear Client! I have read an explanation of your project in detail. I have rich experience in C/C++ programming, so I can provide you best work. You will get to know another trustworthy and talent programmer by choo Thêm

€100 EUR trong 2 ngày
(6 Nhận xét)
2.8
kyj629

Hi! Nice to meet you. My name is Nemanja, c expert from Russia. I have read your project detail carefully. I have about 10 years of experience. I can complete your job within a few days. please contact me so that we c Thêm

€140 EUR trong 2 ngày
(3 Nhận xét)
2.2
kapkovsv

Hello. I have strong experience in C++. I'm familar with Unix commands and network programming. Let's try.

€140 EUR trong 7 ngày
(0 Nhận xét)
0.0
ig0rigorovich

Hello, Sir! I have rich experience in C/C++/C#, Python, Java, Linux and Networking Software. Especially, I'm very familiar with C. I am a software expert who knows the value of time. Let’s carefully discuss our proje Thêm

€140 EUR trong 7 ngày
(2 Nhận xét)
0.0
ding1209

Hi I am pleased to submit my qualifications to you. I am very happy to work with you on this proposal I am new on this site and looking for clients who can work with for a long time. I have read your description caref Thêm

€100 EUR trong 7 ngày
(0 Nhận xét)
0.0