Skip to content

Commit 08167c7

Browse files
Final commit
1 parent 9046219 commit 08167c7

File tree

4 files changed

+593
-1
lines changed

4 files changed

+593
-1
lines changed

Diff for: Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
build:
2-
gcc tema1.c -g -o tema
2+
gcc operating_system.c -g -o tema
3+
4+
run:
5+
./tema
36

47
clean:
58
rm tema

Diff for: README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
# Operating-System
2+
This project implements a Linux file system using simple linked lists. All memory allocations are managed properly and no memory leaks occur throughout the project. Upon running the application, it will wait for inputs from stdin. Examples of commands are: touch f1, mkdir d1, rm f2, rmdir d2, ls, mv old_name new_name, etc. The commands will be explained below.
3+
4+
# Commands
5+
1. touch: Creates a file in the current directory. <br>
6+
2. mkdir: Creates a directory in the current directory. <br>
7+
3. ls: Displays all directories and files in the current directory. <br>
8+
4. rm: Deletes the file with the given name from the current directory. <br>
9+
5. rmdir: Deletes the directory with the given name from the current directory, as well as all files inside it. <br>
10+
6. cd: Changes the current directory to the one with the given name. <br>
11+
7. mv: Moves a file or directory from its original location to the desired one. <br>
12+
8. stop: Terminates the application. <br>
13+
14+
# How to Run
15+
In order to run the application use the command "make build" followed by "make run".

Diff for: Task.pdf

303 KB
Binary file not shown.

0 commit comments

Comments
 (0)