BSH(1)
β¨ BSH(1) β the BeanShell glow-up β¨
okay bestie, welcome to bsh(1), living in the General Commands Manual section, and she is so much cooler than she sounds, I promise π«Ά
π NAME π
bsh β BeanShell: a Java scripting environment (the command-line version, obviously π).
πΈ SYNOPSIS πΈ
bsh [-classpath path] [file]
like. that's it. that's the whole entrance. iconic behavior tbh β¨
π¦ DESCRIPTION π¦
so. BeanShell is a small, embeddable, Java source interpreter that also has object scripting language features, and the whole thing is written in Java. no cap.
she runs your standard Java statements and expressions, PLUS the obvious scripting commands and syntax on top. and here's the part that lowkey goes hard: you can also script objects as simple method closures, like those in Perl and JavaScript(tm). the range?? unmatched. π
and bsh specifically? she starts the command-line version of BeanShell. the terminal girlie of the family. periodt.
π OPTIONS π
-classpathpath β sets the value of theCLASSPATHenvironment variable to the specified path before starting the BeanShell. this one is mainly provided for compatibility with JDE (Java Development Environment for Emacs), so if you're not doing the Emacs thing, she's just chillin' there for the vibes. π§
also!! a file to be executed may be given as an argument to bsh. just hand her a file and she'll run it. no notes. π
β SEE ALSO β
xbshβ the windowed version of BeanShell, if you're feeling fancy with actual windows πͺβ¨- More documentation on BeanShell can be found in
/usr/share/doc/bsh-doc/β but ONLY if thebsh-docpackage is installed. check first, bestie, don't get your hopes up for nothing π
π AUTHOR π
this manual page was written by Ruud de Rooij <ruud@debian.org> for the Debian GNU/Linux system (but may be used by others β she's generous like that π).
and that's the whole page, babes π β BSH(1), straight outta the General Commands Manual, section 1 energy, no date on the cover but all the love in the world. go script something cute. mwah π
π
π¦ where this page comes from
- debian bookworm: bsh 2.0b4-20
- debian trixie: bsh 2.0b4-20
- ubuntu jammy: bsh 2.0b4-20
- ubuntu noble: bsh 2.0b4-20
- ubuntu resolute: bsh 2.0b4-20build1
- ubuntu stonking: bsh 2.0b4-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms