Skip to content

amargenjac/fast-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fast-shell

Description

FastShell is a project submission for CEN-232 Operating Systems @ Burch University. It is developed by Amar Genjac & Amar Fazlić. FastShell covers some basic functions of a shell together with some custom functions. Functions that are implemented are:

  • cd
  • help
  • clear
  • exit
  • cowsay
  • rm
  • cat
  • forkbomb
  • color

Installation

There are 3 files inside the src folder. To run FastShell you need to navigate using terminal to the source folder and compile files using command: gcc -o outputname main.c prompt.c Output name is the name you want to use to run the program. To run program simply run ./outputname in the terminal.

running

Usage

When FastShell is opened, it is possible to run the help command to see all possible functions implemented. Functions that are receiving arguments also have h argument that they can receive to see help for the selected function (e.g rm h). Functions clear and exit do not contain h command since they are straightforward and they don't have other options.

rmex

Different functions contain different arguments that can be explored through h command.

Writing to file

Functions that have possible outputs to the console, also have possible outputs to .txt file when argument o is passed.

cow

About

Shell project @ International Burch University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages