How Can We Help?

LinTalk

You are here:
< Back

LinTalk is a special command that allows you to run Linux from anywhere inside a SageTea Application.

To use this commend, here is the syntax:

self linTalk: ‘Your Linux Command’.

For example,

self linTalk: ‘ls /’

returns a listing of all the files in your root directory:

access.log
bin
boot
dev
downloads
error.log
etc
home
initrd.img
initrd.img.old
lib
lib32
lib64
lost+found
media
mnt
opt
proc
quota.group
quota.user
root
run
sbin
srv
swapfile
sys
tmp
usr
var
vmlinuz
vmlinuz.old
webmin-setup.out

The Linux command runs remotely on the SageTea Cloud and returns the result.

LinTalk can be called from the Text to Software Rules Editor.

Previous How to run periodical task
Next Text to Software Best Practice – Patterns
Table of Contents