shell2
This commit is contained in:
parent
d732e5b323
commit
8a63095163
3 changed files with 18 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
shell
|
shell
|
||||||
|
shell2
|
||||||
|
|
|
||||||
BIN
shell2
Executable file
BIN
shell2
Executable file
Binary file not shown.
17
shell2.c
Normal file
17
shell2.c
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#include<stdio.h>
|
||||||
|
|
||||||
|
#define clear() printf("\033[H\033[J")
|
||||||
|
|
||||||
|
void init_shell() {
|
||||||
|
clear();
|
||||||
|
printf("\n\n\n\n******************"
|
||||||
|
"************************");
|
||||||
|
printf("\n\n\n\t****MY SHELL****");
|
||||||
|
printf("\n\n\t-USE AT YOUR OWN RISK-");
|
||||||
|
printf("\n\n\n\n*******************"
|
||||||
|
"***********************");
|
||||||
|
}
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
init_shell();
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue