JacobPoole / rshell

Try number 3 of rshell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rshell

For Licensing Information: Read LICENSE

Authors & Contributors: Jacob Poole, Breena Li, Henry Doan

Overview

Rshell is a basic command shell that uses execvp to run commands. Rshell can be exited by typing in "exit."

File List

.:

README.md
LICENSE
makefile
./src
./header
./tests
./src

main.cpp
and.cpp
or.cpp
paren.cpp
parser.cpp
pipe.cpp
executable.cpp
test.cpp
cd.cpp
./header

rshell.h
and.h
or.h
paren.h
parser.h
pipe.h
executable.h
test.h
cd.h
./tests

single_command.sh
multi_command.sh
commented_command.sh
exit.sh
test_test.sh
precedence_test.sh
cd_command.sh
single_command.txt
multi_command.txt
commented_command.txt
exit.txt
test_test.txt
precedence_test.txt
cd_command.txt

Run Instructions

  1. cd into rshell
  2. Type in make
  3. Execute with ./bin/rshell

Bugs

  1. Rshell can't handle the cd command
  2. Can't execute commands on the same line exit() is called
  3. Can't change user passwords using pwd
  4. Doesn't color text like bash
  5. Rshell can't handle exit if it is the first command
  6. Pipe: can't handle ls | cat | wc

About

Try number 3 of rshell

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 97.8%Language:Makefile 1.4%Language:Shell 0.8%