From 1827a463ebd66489cacb60125608c94a084eb167 Mon Sep 17 00:00:00 2001 From: Astronand Date: Mon, 2 Mar 2026 21:56:05 -0500 Subject: [PATCH] added ll for ghxx --- Src/Hyperion-bash/bin/ll | 3 +++ Src/Hyperion-bash/bin/sysdump | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Src/Hyperion-bash/bin/ll diff --git a/Src/Hyperion-bash/bin/ll b/Src/Hyperion-bash/bin/ll new file mode 100644 index 0000000..fe29656 --- /dev/null +++ b/Src/Hyperion-bash/bin/ll @@ -0,0 +1,3 @@ +local args={...} +table.insert(args, "-lah") +syscall.exec("/bin/ls", args)2 \ No newline at end of file diff --git a/Src/Hyperion-bash/bin/sysdump b/Src/Hyperion-bash/bin/sysdump index 224d47f..a19fedc 100644 --- a/Src/Hyperion-bash/bin/sysdump +++ b/Src/Hyperion-bash/bin/sysdump @@ -1,6 +1,9 @@ --:Minify:-- +local path=... +path=path or "/dev/tty/1" local syscalls=syscall.sysdump() +local fd=syscall.open(path,"w") for i=1, #syscalls do - print(syscalls[i]) + syscall.write(fd,syscalls[i].."\n) end -print("Total # of syscalls: "..tostring(#syscalls)) \ No newline at end of file +syscall.write(fd,"Total # of syscalls: "..tostring(#syscalls)) \ No newline at end of file