diff --git a/src/kernel/shell.c b/src/kernel/shell.c index fff409d..935bf30 100644 --- a/src/kernel/shell.c +++ b/src/kernel/shell.c @@ -7,19 +7,19 @@ int shell_run(char *cmd){ int ret = 0; puts("\x1b[32m"); - if(!strcmp(cmd, "HELLO")){ + if(!strcmp(cmd, "hello")){ printf("Hello!\n"); } - else if(!strcmp(cmd, "VERSION")){ + else if(!strcmp(cmd, "version")){ printf("%s\n", OS_VERSION); } - else if(!strcmp(cmd, "MALLOC")){ + else if(!strcmp(cmd, "malloc")){ printf("Allocated 10 bytes:\n%x\n", kmalloc(10)); } - else if(!strcmp(cmd, "CALLOC")){ + else if(!strcmp(cmd, "calloc")){ printf("Allocated and zeroed 10 chars:\n%x\n", kcalloc(10, sizeof(char))); } - else if(!strcmp(cmd, "CLEAR")){ + else if(!strcmp(cmd, "clear")){ clear_screen(); } else{