/C-Shell

UNIX command interpreter

Primary LanguageC

Shell Project

Create a shell similar to sh in terms of functionality and looks. This is a collaborative project between two students to test their knowledge, technical skill, communication skills, and resourcefulness. Shell Project is the final project of the first trimester at Holberton School.

Motivation

This project was have us really understand what we have used every day to complete our tasks. We tend to forget how important something is when we use and/or see it so often. Coding a shell made us really appreciate all the little things the shell does for us day in day out. We really appreciate this assignment.

Screenshots

Example

Built with

Setup

If not compiled

Step One

gcc -Wall -pedantic -Werror -Wextra *.c -o hsh

Step Two

./hsh

If compiled

Step one

./hsh

Usage

Run commands as if in sh or bash.

  • Example 1: ls -l
  • Example 2: /bin/ls
  • Example 3: echo Hello World
  • Example 4: cat myfile.txt
  • Example 5: emacs myfile.txt
  • Example 6: echo Emacs > Vim > Vi > Nano

Holberton School © Anthony Le Rory Fayh