An open API service indexing awesome lists of open source software.

https://github.com/rajh-phuyal/42minishell

Creating a simple shell in C.
https://github.com/rajh-phuyal/42minishell

abstract-syntax-tree bash c minshell signals tokenizer

Last synced: about 2 months ago
JSON representation

Creating a simple shell in C.

Awesome Lists containing this project

README

          

# 42Minishell
Creating a simple shell in C.

## Description
The objective of this project is to create a simple shell in C using only the following functions and system calls:
- malloc, free
- access
- open, close, read, write
- opendir, readdir, closedir
- getcwd, chdir
- stat, lstat, fstat
- fork, execve
- wait, waitpid, wait3, wait4
- signal, kill
- exit

## Usage
```
$> make
$> ./minishell
```

## Features
- Prompt display
- Command execution
- Environment variables
- Builtins: cd, echo, env, setenv, unsetenv, exit
- Signals: ctrl-C, ctrl-D, ctrl-\
- Redirections: <, >, <<, >>

## Authors
- [**Rajh Phuyal**]() - [**Github**]("https://github.com/rajh-phuyal")
- [**Joao Miranda**]() - [**Github**]("https://github.com/joaodibba")

## Documentation
- [**Notion**](https://42minishell.notion.site/Minishell-e2acbb840a104c63a2b5a2249a32fab0)

## Acknowledgments
- [**42**](https://42lisboa.com/)