Skip to content

laurakoco/linux-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages