Create a shell, a first-year project at Epitech that involves implementing basic commands.
Use Makefile for compile the project
make re
./myshcd :
cd ../ #go to current file path
cd - #go to the last visited file
cd / cd ~ #go to the home file of the current users
setenv && unsetenv :
setenv :
setenv hello World #Create the value hello in the environment and assign the value world
setenv hello #Create value without attributed value
setenv USERNAME helloWorld #Change the value of USERNAME to helloWorld
setenv USERNAME #removes the value assigned to USERNAME
Unsetenv :
unsetenv hello World #remove the value hello from the env
Exit :
Exit #exit the program
We can also use any commands currently installed on your computer and we can run the program within the program.
./mysh
nael@nael:~/for_github/a/MyShell$ ./mysh #enter in program