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.
- Host: GitHub
- URL: https://github.com/rajh-phuyal/42minishell
- Owner: rajh-phuyal
- Created: 2023-09-16T15:35:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T10:41:39.000Z (about 2 years ago)
- Last Synced: 2025-01-11T05:35:57.598Z (over 1 year ago)
- Topics: abstract-syntax-tree, bash, c, minshell, signals, tokenizer
- Language: C
- Homepage:
- Size: 4.62 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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/)