distro files

This commit is contained in:
Matheus
2023-05-13 22:30:25 -03:00
parent 55967dacfb
commit c6f9f295ee
11 changed files with 72 additions and 0 deletions
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
root::0:0:root:/root:/usr/bin/bash
+8
View File
@@ -0,0 +1,8 @@
NORMAL="\[\e[0m\]"
RED="\[\e[1;31m\]"
GREEN="\[\e[1;32m\]"
BLUE="\[\e[1;36m\]"
WHITE="\[\e[1;37m\]"
PS1="$GREEN\u$NORMAL@$BLUE\h$NORMAL:$WHITE\w$NORMAL>"
alias ls="ls --color=auto"
+1
View File
@@ -0,0 +1 @@
mkdir /tmp
+15
View File
@@ -0,0 +1,15 @@
Section "Module"
Load "fbdev"
EndSection
Section "Device"
Identifier "Card0"
Driver "fbdev"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "Device" "/dev/keyboard"
Option "Protocol" "Standard"
EndSection
+13
View File
@@ -0,0 +1,13 @@
section .text
global _start
_start:
mov rax, 9
mov rdi, 1
mov rsi, msg
mov rdx, 14
syscall
mov rax,15
xor rdi, rdi
syscall
section .data
msg: db "Hello, world!", 0xA
+5
View File
@@ -0,0 +1,5 @@
#include <stdio.h>
int main(){
printf("Hello, world!\n");
}
+6
View File
@@ -0,0 +1,6 @@
#include <iostream>
int main(){
std::cout << "Hello, world!" << std::endl;
return 0;
}
+1
View File
@@ -0,0 +1 @@
echo Hello, World!