Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 579 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 579 Bytes

nsh

A small shell I built in C. Inspired by https://brennan.io/2015/01/16/write-a-shell-in-c/.

build

  1. Clone the repository.
git clone [email protected]:Nathan5563/nsh.git
  1. Build the project files.
make
  1. Run the executable.
./nsh.exe

built-in functions

The shell currently supports the following functions:

help   -  Usage: 'help'       -   displays information about the shell.
cd     -  Usage: 'cd [args]'  -   changes the present working directory to the path specified by args.
exit   -  Usage: 'exit'       -   exits the shell.