minishell
minishell copied to clipboard
42 - Rewrite a simple shell
when i use TRUNC or APPED rdr '>', '>>' all outputs goes to the open fd for example ls > file | wc -l ls > file | ls |...
Example 1) Create variable l 2) Go to minishell 3) Try to execute ls ``` export L=l ./minishell $L's' ``` In bash execute fine ``` export L=l $L's' ```
When running the minishell project and exiting the shell, Valgrind reports that there are 2 bytes still in use in 1 block of memory. No memory errors or leaks are...