Skip to content

rohanvan123/rshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rshell (Rohan Shell)

This is simple implementation of the UNIX-based shell heavily influenced from:

Instructions to run

To execute the program run the following executable in the root directory of the project:

$ ./rshell

Upon commencing, you should see a terminal prompt

Welcome to rshell!
/ >

Implementation Details

The shell process is isolated to the current directory, so you cannot cd out of the project's root directory. To accomplish this, the program maintins a directory node link list where the current node references its parent, so that a cd reverse can retrieve a path. To run a program, the rsh_launch calls fork() and runs execvp(...) in the child process while the parent process waits for it to finish.

My Image

About

Custom UNIX-based shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors