Skip to content

This is a custom linux shell implemented in C which contains the ability to run linux commands in a custom shell.

Notifications You must be signed in to change notification settings

micaelillos/CustomShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Custom Linux Shell


👩🏽‍💻 Linux shell implemented in C!

Vision

My goal is to make a fully functional and easy to use linux shell implemented in C which lets you use basic linux commands implemented in C. (This is a CS assignment)

How to use

Prequisistes

  1. Make sure to be running linux in a vm or on your local machine
  2. Have basic understaning in C

Development

  1. Fork and clone this repo

  2. Run:

    gcc shell.c -o run

Features

📌 Write data to file date u > file

📌 Append data to file date >> file

📌 Word count from file wc -l < file

📌 Change prompt prompt = ${YourPrompt}

📌 Redo last command !!

📌 Get status of last command echo $?

📌 Contains most basic linux commands built in cat , ls and ect'

📌 Ctrl-C signal handler

📌 Ability to exit shell quit

Usage Example

Lots more coming soon...

Feel free to Fork and add more feautures

  • For help or questions - Get in touch - Website

About

This is a custom linux shell implemented in C which contains the ability to run linux commands in a custom shell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages