added ll for ghxx
This commit is contained in:
3
Src/Hyperion-bash/bin/ll
Normal file
3
Src/Hyperion-bash/bin/ll
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
local args={...}
|
||||||
|
table.insert(args, "-lah")
|
||||||
|
syscall.exec("/bin/ls", args)2
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
--:Minify:--
|
--:Minify:--
|
||||||
|
local path=...
|
||||||
|
path=path or "/dev/tty/1"
|
||||||
local syscalls=syscall.sysdump()
|
local syscalls=syscall.sysdump()
|
||||||
|
local fd=syscall.open(path,"w")
|
||||||
for i=1, #syscalls do
|
for i=1, #syscalls do
|
||||||
print(syscalls[i])
|
syscall.write(fd,syscalls[i].."\n)
|
||||||
end
|
end
|
||||||
print("Total # of syscalls: "..tostring(#syscalls))
|
syscall.write(fd,"Total # of syscalls: "..tostring(#syscalls))
|
||||||
Reference in New Issue
Block a user