Skip to content

changgyhub/myshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

myshell

Implementation of bash shell in C, for the Operating System Course in HKU.

myshell

Development Platform

  • 64-bit ubuntu 14.04 LTS
  • gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

Usage

  • Compilation: gcc src/myshell.c -o myshell -Wall
  • Run: ./myshell

Enabled Functionalities

  • Commands in /bin:/usr/bin
  • pipe
  • background mode
  • timeX: a built-in function for counting execution time, support pipe and foreground commands. For instance, timeX ls -l | wc

Blocked Functionalities

  • SIGINT signal in myshell. You cannot exit this program using SIGINT signal. Use exit instead.

Disabled or Unimplemented Functionalities

  • cd: changing folder is not supported in myshell

About

Implementation of Linux shell in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages