Gaining exposure to the Linux programming environment and process interaction.
cd [dir]
(omit[dir]
to change to the home directory)pwd
exit
Run multiple jobs on a single command line using ;
to denote separate jobs
myshell> ls; ps; who
myshell> ls -la /tmp > output
Functions similarly to redirection of standard output, except standard output is prepended to existing content if the file already exists.
Specify a "batch file" of command lines to execute instead of interacting with the shell to execute command lines. Some example batch files are provided in the p4shell/batch-files
directory.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Have fun!
-
Clone this repo into your folder of choice.
$ git clone https://github.com/jackandthebean/shell.git
-
Change directories.
$ cd shell/p4shell
-
Compile the program.
$ make
-
Run the program.
Interactive mode
./myshell
Batch mode
./myshell [file]