Written by Dheeraj Reddy Pailla and Anshul Gupta
1. make
2. ./ash
MODULES:
-
main This contains the driver program from which the program is executed.
-
ashLoop This contains the infinite loop for the shell to run.
-
ashRead This consists of the read function used continuously by ashLoop.
-
ashGetArgs This tokenizes the input.
-
convertCWD This converts the home directory to a '~'.
-
ash_ls This implements ls command along with the flags -a and -l.
-
builtin Implements built in commands cd, echo, pwd and calls ls function.
-
ash_pinfo Implements pinfo command.
-
ashLaunch Implements regular shell functions using exec*.