This project is made to fulfill the 1st, 2nd, and 3rd milestone for the Operating System. It is a simple os that can do simple command like ls, mkdir, cp, cd, cat, and mv. It also implemented by using multiprogramming and message passing
Name | Nim |
---|---|
Muhammad Garebaldhie ER Rahman | 13520029 |
Rayhan Kinan Muhannad | 13520065 |
Aira Thalca Avila Putra | 13520101 |
- VirtualBox
- Window Subsytem for Linux
- Ubuntu 20.04 LTS
- Nasm
- bcc
- bochs
- c language
This OS was in implementation from the boilerplate given by sister19. In this OS you can use simple command like cat
to read file, ls
to list file and many more. To see more command check the command section. This OS is made using bcc, bochs, c, and asm.
- kernel
- shell
- cd
- cp
- cat
- ls
- mv
- mkdir
- execute a program locally and globally
- multiple program execution with and without message passing
- Install all the requirements in the technologies section
sudo apt update
sudo apt install nasm bcc bin86 bochs bochs-x make
- Run the virtual machine using VirtualBox (Another option by using WSL2)
- clone the github repository by using
git clone https://github.com/Sister19/tugas-besar-os-ususbuntu
- run
make all run
and viola! the bochs emulator should pop up and the os are ready to be used
-
clear
- to clear the screen -
cd <target_dir>
- move from current directory to target dir -
ls [folder]
- list all the files or folder in folder name -
mv <file or folder> <target_dir>/[new_name]
- move file or folder in current dir to the destination and be able to rename the file if the argument is specified -
mkdir <folder_name>
- to create new folder in current dir -
cat <file_name>
- to read and display file -
cp <file or folder> <target>
- copy file to target dir if no folder exists will rename to target -
./<file_name>
- to execute file in current dir -
[OPTIONAL]
- if not specified refer to cwd -
<MANDATORY>
- this argument is must in order to run
- Run the kernel program and a welcome page will be displayed. Press any key to clear the screen and use the program.
- After you run the OS the clearFunction will run by default and it will clear the screen leaving the shell with the location of curdir
- You can type any character, or command in that will go to the buffer with 128 byte size.
- If you pressed enter, the text you typed before will be process as command.