You are browsing as a guest. Sign up (or log in) to start making projects!

a simple shell in c

  • 2 Devlogs
  • 2 Total hours

A BASIC LINUX SHELL WRITTEN IN C

Ship #1 Pending review

#INTRODUCTION:
*I made a simple Shell for Linux written in C.
*This Shell works just like any basic Shell but it doesn’t store any history.
#MY EXPERIENCE:
*the hardest part of making this shell is parsing the input and also executing it.
*Because the execvp() function used to execute Commands is a bit tricky and parsing Commands into tokens too, as this is my 1st time working with pointer arrays.
*it felt exciting at first and a bit exhausting too but i’m proud atleast after completing the project.
#TECHNICAL DETAILS:
*the shell is written purely in C language and does need to be compiled before executing it .
*the shell makes use of string functions like strtok(),strcmp(),etc
to work with input strings
*and it makes use of execvp() to execute os functions.
*Runs only on linux.
#REQUIREMENTS:
*Linux OS (to run the program).
*any c compliler(for compilation).

  • 2 devlogs
  • 2h
Try project → See source code →
Open comments for this post

1h 18m logged

hey guys,
writing a linux shell in c for linux ,and yeah this is my 1st project and the process is going great but it kind feels exhausting because this is my first time making projects.
if you have any ideas or improvements then you are free to contact mee!!
here is my email ID: [email protected]

0
0
16

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…