added ll for ghxx

This commit is contained in:
2026-03-02 21:56:05 -05:00
parent b532a63fc6
commit 1827a463eb
2 changed files with 8 additions and 2 deletions

3
Src/Hyperion-bash/bin/ll Normal file
View File

@@ -0,0 +1,3 @@
local args={...}
table.insert(args, "-lah")
syscall.exec("/bin/ls", args)2

View File

@@ -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))
syscall.write(fd,"Total # of syscalls: "..tostring(#syscalls))