Skip to content

Owinnie/simple_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0x16. C - Simple Shell ==> OwShell

UNIX Command Line Intepreter

  • Displays a prompt and waits for the user to type a command --> $
  • The prompt is displayed again each time a command has been executed.
  • Handles basic commands eg, pwd, ls, cd, exit...
  • Displays err messages in case of err

HOW TO START OwShell

  1. First compile:

    gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh

  2. Run: ./hsh

    Owinnie@root $

    ----> It's ready for your input; start typing. Don't get too excited albeit. Some advanced shell commands might not work. Experiment and make them work...

  3. Had enough fun? Exit:

    Owinnie@root $ exit

    BYE ..........................................................................................................................................................................................

Note from author(s)

---> This a very VERY simple version of shell. Improve it and make it better Happy coding :) !!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages