- To build a shell performing basic operations.
- Must have cd, ls, pwd and echo inbuilt.
- Other commands must be implemented using exec.
- No piping implemented yet.
- Some unhandled corner cases.
- Run command
make;make clean;./ashto build from source or simply./ashon terminal
- shell.c - main loop of the shell, output prompt and input command.
- command.c - all form of string parsing, command processing and call to respective functions is performed here.
- init.c - initializes prompt.
- list.c - implements ls and variants.
- pwd.c - implements pwd.
- cd.c - implements cd and variants.
- echo.c - implements echo.
- others.c - implements other commands using exec.
- history.c - implements history command.
- nightswatch.c - implements a specific version of watch command.
- pinfo.c - implements pinfo command.
- setenv.c - implements setenv command.
- unsetenv.c - implements unsetenv command.