Skip to content

CStratton00/UnixCommandLineInterpreterProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

UnixCommandLineInterpreterProject

CST-315 project to create a unix/linux command line interpreter

Installation

  1. Download zip file of code
  2. Download gcc
  3. Make sure the following libaries are installed
    • stdio.h
    • string.h
    • stdlib.h
    • unistd.h
    • sys/types.h
    • sys/wait.h
    • readline/readline.h
    • readline/history.h
    • dirent.h
    • errno.h
    • pthread.h
    • alloca.h
    • signal.h
    • sched.h
  4. Open zip file and note the location of the .c file
  5. Open terminal or commandline equivalent and go to the .c file
  6. Run gcc -pthread linuxshell.c -lreadline -o linuxshell
  7. Run ./linuxshell

Terminal Comands Available

  1. exit
  2. cd
  3. ls
  4. rm
  5. pwd
  6. help
  7. page
  8. hello
  9. sproc

About

CST-315 project to create a unix/linux command line interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages