https://github.com/simlf/minishell
Unix command interpreter based on TCSH
https://github.com/simlf/minishell
c epitech-project tcsh unix-shell
Last synced: 6 months ago
JSON representation
Unix command interpreter based on TCSH
- Host: GitHub
- URL: https://github.com/simlf/minishell
- Owner: simlf
- Created: 2021-05-07T07:44:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T08:41:49.000Z (over 4 years ago)
- Last Synced: 2025-02-12T11:33:23.162Z (8 months ago)
- Topics: c, epitech-project, tcsh, unix-shell
- Language: C
- Homepage: http://simonlefourn.com
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minishell

___
## Unix Command interpreter based on TCSHI have implemented the following buitlins :
- cd
- env
- setenv
- unsetenv
- exit
___
## Usage example``` tcsh
make
./mysh
$> ls -l
total 48
drwxr-xr-x. 2 sfourn sfourn 4096 May 7 09:44 include
-rw-r--r--. 1 sfourn sfourn 789 May 7 09:45 Makefile
-rwxr-xr-x. 1 sfourn sfourn 31944 May 7 09:53 mysh
-rw-r--r--. 1 sfourn sfourn 830 May 7 09:53 README.md
drwxr-xr-x. 2 sfourn sfourn 4096 May 7 09:53 src
$> cd
$> pwd
/home/$HOME
$> exit
```
With this project I learned to use the `fork()` function, understand how to handle signals with PID and interact with the env.
___
Check my [portfolio](http://simonlefourn.com) for more informations on this project.