/Shell-Program

A simple FreeBSD Shell program to gain familiarity with using system calls. Replicates many of the capabilities of a Linux shell program. Written in C

Primary LanguageC

asgn1 folder contains the following files: myshell.c lex.l makefile readme.txt design.txt

With the myshell.c, lex.x, and makefile all in the same folder, run the command

$ make

This will build the project.

To run the program type

$ ./myshell

This will start the program and permit you to use the shell in various ways

For example:

$ cd directory

$ ls -l

$ cat file1

$ cat file1 > file2