Skip to content

ahsu013/rshell-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSHELL

By Jamal M. Moon

======

Table of Contents

  1. Introduction
  2. Features
  3. How To Install
  4. Known Bugs/Limitation

This project contains the rudimentary foundation for a shell. While limited, it can execute a number of bash commands with proper arguments, syntax, and connector operations.

  • Can execute a plethora of bash commands: echo, ls, pwd, touch, etc.
  • Supports arguments for commands. EG: ls -a
  • Supports operations to connect expressions, such as ||, &&, and ;
    • These operations are evaluated from left to right and work just like bash operations.

Download and install the g++ compiler online. Afterwards, go to your terminal in Linux (alt ctrl t for ubuntu), and enter the following (without the numbers):

1) git clone http://github.com/jmoon018/rshell.git
2) cd rshell
3) git checkout hw0
4) make
5) bin/rshell

  1. There can't be more than one space at a time. For example: "echo [insert whitespace] x" is the same as "echo x"
  2. The $ prompt won't display properly if the enter button is spammed, but this was reproduced in the bash terminal, too.

Please contact me at [email protected] if you have any questions or if you find any unlisted bugs in the code. Thanks.

About

First HW assignment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages