Environment
- OS : Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-193-generic x86_64)
How to compile
> make
How to run
> ./myshell
cd, cd .. : to navigaite the directories in your shell
ls : listing the directory contents
mkdir, rmdir : create and remove directory using your shell
touch, cat, echo : creating, reading and printing the contents of a file
exit : shell quits and returns to original program(parent process)
ls -al | grep filename
cat filename | less
cat filename | grep -v "abc" | sort -r
..etc
jobs : list the running and stopped background jobs
bg %(job_id) : change a stopped background job to a running background job.
kill %(job_id) : terminate a job.
ls -al | grep filename &
cat sample | grep -v a &
..etc