26 posts
Location
propably in front of his PC
Posted 25 March 2018 - 08:41 PM
I currently working on something called 'Unixify' which should add Unix-Like programs/commands. The programs are for e.g. located in /root/myprograms/, but I want them to be executeable from anyhwere. How is this possible?
749 posts
Location
BOO!!
Posted 25 March 2018 - 11:14 PM
Startup file
shell.setDir("root/myprograms/")
25 posts
Posted 25 March 2018 - 11:46 PM
You could use a collection of aliases to call programs by another name. Examples are "ls" and "mv" which respectably run the programs "list" and "move". The shell API has the abilities for aliases to be managed within programs. Find some of that information here:
http://www.computercraft.info/wiki/Shell_(API)
26 posts
Location
propably in front of his PC
Posted 26 March 2018 - 10:05 AM
Startup file
shell.setDir("root/myprograms/")
Thanks. I'll directly start CCEmuRedux and try it.
You could use a collection of aliases to call programs by another name. Examples are "ls" and "mv" which respectably run the programs "list" and "move". The shell API has the abilities for aliases to be managed within programs. Find some of that information here:
http://www.computerc...wiki/Shell_(API)
But I want to add completely new programs like apt-get, ssh, …
2427 posts
Location
UK
Posted 26 March 2018 - 01:58 PM
26 posts
Location
propably in front of his PC
Posted 27 March 2018 - 09:55 AM