UmairHabib / Virtual-Shell-Terminal-on-Ubuntu-OS

Virtual shell/terminal for handling almost all the system commands such as ls, mkdir, rmdir, cat, grep on Ubuntu using Virtual Machine. It can also handle Pipes and I/O redirection for flushing the output to console and text files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual-Shell-Terminal-on-Ubuntu-OS-used-to-handle-all-commands,Pipes and I/O Redirection

Virtual shell for handling all the commands, Pipes and I/O redirections on Ubuntu. A detailed question is given in pictures

Some Basic Decription of Code:

Our main task was to develop a virtual shell using different builtin in libraries in Operating System. Our vitual shell can perform all basic tasks of same as given in ubuntu named as terminal. It can perform :
ls, mkdir, rmdir, cp, clear, cat, grep and many more.

Moreover, our extended shell can handle Pipes and I/O redirection. Along with Pipes, our code has to handle the output by flushing it to console and in case of grep it can also flush the output into text file. Basically, it can handle two to three pipes at a time.
Your shell shall execute the following commands, for example:

ls | grep "out" | more

and

ls | grep "out" > "xyz.txt"

#How to run program:

We have used VMware for running Ubuntu on our computers.

You can download VMware from the given link:
https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
https://www.virtualbox.org/wiki/Downloads

Any Ubuntu operating system can be used on VMware or VMbox.

You can download Ubuntu from the given link:
https://www.ubuntu.com/download

You can run this program on Netbeans IDE in virtually created Ubuntu.

You can download Netbeans from the given link:
https://netbeans.org/downloads/8.0.2/

About

Virtual shell/terminal for handling almost all the system commands such as ls, mkdir, rmdir, cat, grep on Ubuntu using Virtual Machine. It can also handle Pipes and I/O redirection for flushing the output to console and text files.

License:MIT License


Languages

Language:C++ 100.0%