Minishell 42.
- echo
- echo with option -n
- cd with only a relative or absolute path
- pwd with no options
- export with no options
- unset with no options
- env with no options or arguments
- exit with no options
- make
- compile all files required and create executable, "minishell"
- make clean
- removes unnecessary *.o files not necessary to run program
- make fclean
- removes everything created by make, including "minishell"
- make re
- removes everything and compile again.
- PATH_MAX
- in Mac in 42 Tokyo (Mac OS Mojave), the maximum length of a file or directory is 255, and the total pathline should be less than 1024.(PATH_MAX)
- status number
- command not found: 127 "command not found: %s"
- parse error: 258 "syntax error near unexpected token `%c'"
- fork error: 149 "fork failed: resource temporarily unavailable"
- fd error: 1 "Too many open files" (error in open, dup, pipe)
- failed to execute command: 1