Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple-Shell-Implementation

This Project is (Dr.Zhang's class)SEU-CSE's Operating System Practice class 's Experiment 2

Environment Preparation

GNU readline's download

sudo apt-get install libreadline-dev //command on ubuntu 

It is used to read user's input shell command. Because it is a dynamic library, you need to add -lreadline when compiling with gcc.

gcc -o xxx xxx.c -lreadline

Lab Environment

  • ubuntu 22.04
  • VMware
  • linux 6.6.4

Instruction

gcc myShell.c -o myShell -lreadline
./myShell

About

This Project is SEU-CSE's Operating System Practice class 's Experiment 2

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages