Skip to content

RamiE965/rsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

rsh -- A simple UNIX Shell


image

Description

RSH (Rami Shell) is a simple UNIX shell that supports basic command-line functionalities including executing commands with arguments, handling environment and shell variables, pipes, simple history management, and a set of built-in commands.

Features

  • Piping
  • Enivornment & Shell Variables
  • Built-in Commands: exit, cd, export, local, vars, & history
  • History Management
  • Command Execution
  • Interactive & Batch Modes

Usage

Interactive Mode

Simply run ./rsh after compiling the c file. Then start typing your commands!

Batch Mode

Run ./rsh script.rsh where the script.rsh is a file that contains a list of commands that you intend to run in batch mode.

Shell Variables

  • For setting local variables local MYSHELLVARNAME=somevalue
  • For setting enviornment variables export MYENVVARNAME=somevalue

About

A simple UNIX Shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages