Make virtual linux file system and use own shell
gcc mymkfs.c -o mymkfs
gcc myfs_shell.c -o myshell
./mymkfs # make virtual shell
./myshell # excute shell
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/initial.png)
- default bash script, if operation does not start with "my" excute default bash script
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/default.png)
- mycpfrom: copy local file to virtual my files ystem.
- myls: show list virtual filesystem.
- mycat: show file's content.
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mycpfrom.png)
- mystate: show virtual system's info
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mystate.png)
- myshowfile: show file's start byte ~ end byte
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/myshowfile.png)
- mymkdir: make directory
- mycd: change directory
- mypwd: show current directory
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mymkdir.png)
- myshowinode: show inode's detail
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/myshowinode.png)
- myshowblock: show block's detail, if block is directory, show list file names, or block is regular file, show file's content
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/myshowblock.png)
- mytouch: create empty file
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mytouch.png)
- mycpto: copy virtual file system's file to local file system
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mycpto.png)
- mycp: copy file
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mycp.png)
- mymv: move or rename file
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mymv.png)
- myrm: remove file
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/myrm.png)
- myrmdir: remove directory
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/myrmdir.png)
- mytree: show tree structure virtual file system
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/mytree.png)
- exit, byebye: exit shell
![operation](https://raw.githubusercontent.com/Namkwangwoon/project/master/./images/exit.png)