Skip to content

htn274/simple-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 1: Simple shell - Operating System

1. Setup

  1. Download this repository from github.

    git clone https://github.com/htn274/simple-shell.git
    cd simple-shell
  2. Compile:

    make
  3. Run:

    make run

2. Features

  • Execute application with fork()
  • Background command when it ends with '&'
  • History feature
  • Multiple direction
  • Multiple pipe
  • Combine pipe and direction
  • Change directory
  • Suggestion command
  • Color for command line interface

3. Usage

  • Run a command:

    command

  • Cd command:

    cd

  • History:

    cd

  • Redirect I/O:

    Input: ">"

    redirect-input

    The result:

    redirect-result

    Output: "<"

    redirect-output

  • Pipe:

    pipe

    pipe

  • Suggest command by tab:

    suggest

About

Project 1 - Operating System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published