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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.