A summary of commands for embedding other programming languages

A summary of the commands used for embedding various other programming languages is as follows:

Programming language

Command for embedding script or code

ash

ash -c ""

ruby

ruby -e ""

jruby

jruby -e ""

rubyjs

rubyjs -e ""

python

python -c ""

python3

python3 -c ""

jython

jython -c ""

cython

cython -c ""

perl

perl -e ""

csh

csh -c ""

tcsh

tcsh -c ""

mksh

mksh -c ""

ksh

ksh -c ""

zsh

zsh -c ""

dash

dash -c ""

coffee

coffee -e ""

lua

lua -e ""

scilab

scilab -e ""

Get Learning Linux Shell Scripting - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.