https://github.com/aunyks/simple-c-shell
by the sea shore. This is for class.
https://github.com/aunyks/simple-c-shell
Last synced: 3 months ago
JSON representation
by the sea shore. This is for class.
- Host: GitHub
- URL: https://github.com/aunyks/simple-c-shell
- Owner: aunyks
- Created: 2019-10-03T22:19:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T22:21:08.000Z (over 5 years ago)
- Last Synced: 2025-03-18T15:52:02.813Z (3 months ago)
- Language: C
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Your job is to implement a very basic shell. It should accept input from the command line,
parse it, and run the executable specified. More specfic steps are provided in the shell.c file.This will also provide practice with reading manual pages (or man pages for short). These are
extremely useful for understanding these system calls at a deeper level. For instance,
what arguments do the functions expect? What format should the arguments be? What does this
function return?hello.c - Simple C program that contains the source code for the hello executable.
hello - executable that you should be able to run in your shell.
Makefile - Makefile for the shell and hello executable. Run `make shell` and `make hello` respectively.
ref_shell - executable of the solution, for your reference. You can run `./ref_shell` in the terminal
to see what your shell should be doing.
shell.c - where you implement your shell!Copyright (c) 2019 Gerald Nash