Skip to content

Create a shell, a first-year project at Epitech that involves implementing basic commands.

Notifications You must be signed in to change notification settings

sachit123H/MyShell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyShell

Create a shell, a first-year project at Epitech that involves implementing basic commands.

How to start the project

Use Makefile for compile the project

make re

./mysh

Commands & flags

cd :

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

Other commands

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

About

Create a shell, a first-year project at Epitech that involves implementing basic commands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • Makefile 1.4%