shell.programs

From ComputerCraft
Jump to: navigation, search

shell.programs
Function
Syntax
shell.programs()
Returns table
API shell
Source CC:Tweaked (source)

Returns a list of all Programs in the Shellpath.

ExampleExampleGet a List of all Progarms in the Shellpath
Get a List of all Progarms in the Shellpath and print it.
Code
for k,v in ipairs(shell.programs()) do
  write(v.." ")
end
Output adventure alias apis bg cd chat clear copy delete dj drive edit eject emu exit fg gps h hello help id label list lua mkdir monitor move multishell paint pastebin peripherals programs reboot redirection redstone rename repeat set shell shutdown time type wget worm