In this project, the standard library was recreated from scratch as well as system commands and a SHELL in order to execute them.
- C (only system Call)
The project has a makefile in order to compile the library, the Test file, the SHELL file and the different system commands.
-
mini_string.c
- mini_printf
- mini_scanf
- mini_exit_string
- mini_strlen
- mini_strcpy
- mini_strcmp
- mini_strncmp
- stringToInt (ATOI)
- intToString (ITOA)
- mini_perror
-
mini_memory.c
- mini_calloc
- mini_free
- mini_exit
-
mini_io.c
- mini_fopen
- mini_fread
- mini_fwrite
- mini_fflush
- mini_fclose
- mini_exit_io
- mini_fgetc
- mini_fputc
-
mini_lib.h
- mini_touch.c
mini_touch file
- mini_cp.c
mini_cp file1 file2
- mini_echo.c
mini_echo message
- mini_cat.c
mini_cat file
- mini_head.c
mini_head -n nline file
- mini_tail.c
mini_tail -n nline file
- mini_clean.c
mini_clean file
- mini_grep.c
mini_grep word file
- mini_wc.c
mini_wc file
- mini_chmod
mini_chmod permissions (octal) file
- mini_quickdiff
mini_quickdiff file1 file2
- mini_ln
mini_ln file1 file2
- mini_ls
mini_ls -l directory
- mini_mkdir
mini_mkdir directory
- mini_rmdir
mini_rmdir directory
- mini_rm
mini_rm file
- mini_touch
mini_touch file
- mini_cd
mini_cd directory
- mini_getenv
mini_getenv env
- mini_env
mini_env
- mini_exit
mini_exit
- main.c
- shell.c
- Compile All Files :
make all
- Clear All Files :
make cleanall
- Lunch Shell :
./mini_shell
- Lunch TestFile :
./test
- Created by Julien SANCHEZ
- MakeFile : DragonKEME