Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 783 Bytes

File metadata and controls

53 lines (37 loc) · 783 Bytes

Linux Shell in C

Simple Linux shell written in C.

What Does It Do?

  • Executes built-in commands:
    • cd
    • help
    • exit
    • pwd
    • history
    • ! (previous command)
    • !n (nth previous command)
  • Executes external commands by forking child process.

Built With

  • C
  • Linux Ubuntu

Usage

Compile shell.c from Linux terminal

$ gcc -o shell shell.c

Execute the program

$ ./shell

You are now in the shell

>> help
>> pwd
>> [...]
>> exit

Author

Laura Kocubinski laurakoco

Acknowledgments