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

Custom Shell

  • 2 Devlogs
  • 12 Total hours

A CUSTOM HARDWARE AWARE SHELL ( Updated version 2.0 )

Open comments for this post

7h 14m 19s logged

Path to Version 2.0 
I received feedback on v1.0 regarding the distribution of binaries. I have treated this not just as a fix, but as an opportunity to move to a fully modularised, production grade build system.

What I am changing for Version 2.0 ?

Automated Build System: I have implemented a professional Makefile that handles compilation, dependency management, and binary generation. This ensures that any reviewer can clone the repo, run make, and have a working binary in seconds.  
Binary Distribution: v2.0 will include the pre-compiled hsh binary attached directly to the GitHub release, ensuring instant usability.
Error Handling: Version 2.0 will introduce specific error handling for non-existent commands and restricted directory access, moving away from simple execution to a “user-proof” shell experience.

My Goal for v2.0
To ship a fully functional, stable Unix like shell that demonstrates deep integration with the Linux Kernel via system calls, providing a seamless experience for the end user.

0

Loading discussion…

0
5
Ship #1

I have been diving deep into low level programming , trying to get away from high level abstractions and understand what's actually happening at the metal. I have spent the last few days building a custom Unix shell 'hsh' entirely in C from scratch . It's definitely been a learning curve (and I have definitely had my share of segmentation faults!), but seeing it actually interact with the kernel is the coolest thing I have built so far..! . Definitely planning to keep iterating on this to add redirection and signal handling next. New versions coming up..!
If you are into low level stuff or just want to see how I broke this down, check out the repo..!
https://github.com/AdityaViraj/hsh-systems-kernel

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

4h 38m 53s logged

I have spent the last few days building a custom Unix shell ‘hsh’ version 1.0 entirely in C. It’s been a crazy ride. I started out not knowing much about an Operating System .

3

Loading discussion…

0
43

Followers

Loading…