scilab-cli(1)
π scilab-cli β bestie's guide to the Scilab shell π
okay so. this is the manual page for scilab-cli, straight out of the General Commands Manual section, and honestly? it's giving "powerful but nobody told you how it works." so i'm telling you. π«Ά
β¨ NAME β¨
scilab, scilab-cli and scilab-adv-cli β it's the Scilab shell, bestie. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
scilab <arguments>
that's it. that's the whole invocation. you just throw arguments at it and hope for the best (jk, we're gonna go through every single one). π
π OPTIONS π
there's a complete list of options below β and yes, i mean complete, we are not skipping a single one, no cap. β
π General options π
-args <rest>β soaks up all the extra arguments you throw at it and makes them available throughsciargs. it's the "and everything else" bucket, iconic honestly.-display <display>(or-d <display>) β use the given server display. this is an Xwindow-systems thing, so if you're not on X, this isn't your moment.-e <instruction>β execute the Scilab instruction that you passed as the argument. π«‘ heads up:-eand-fare mutually exclusive β you pick one, not both, that's the rule.-f <file>β execute the Scilab script you passed as the argument. same deal:-eand-fare mutually exclusive. choose your fighter.-quitβ force scilab to exit after it runs the script from the-eor-fargument. β οΈ lowkey important: this flag gets ignored if you don't use it together with-eor-f. it doesn't do anything on its own, it's a sidekick not a main character.-l <lang>β change the language of scilab. the default isen_US. β¨-nocolorβ strips the color out of the cli and adv-cli modes. monochrome era, i guess. π-nwβ enable console mode.-nwni(or-nogui) β enable terminal mode. two names, one vibe.
π₯ Developer Trace arguments π₯
--parse-traceβ display bison state machine evolution. yes, the parser's whole inner monologue, on your screen. π--AST-traceβ display ASCII-art AST so it's human readable. the tree, but make it art. π--pretty-printβ display pretty-printed code, in standard Scilab syntax.
β±οΈ Developer Timer arguments β±οΈ
--AST-timedβ time each AST node. every single one. clocked. π--timedβ time the global execution.
π Developer Debug arguments π
--context-dumpβ display context status.--exec-verboseβ display the command before running it. narrating your own life, honestly relatable.-nbβ do not display Scilab loading on start. quiet entrance. π§-noatomsautoloadβ do not load the ATOMS installed module.--no-execβ only do lexing/parsing, do not execute instructions. all vibes, no consequences. π-nouserstartupβ do not execute the user startup filesSCIHOME/.scilaborSCIHOME/scilab.ini.-nsβ don't executeetc/scilab.start. β οΈ and this one comes with a warning, fr fr: it will disable many features β only use if you know what you are doing. bestie, if you're reading this like "wait, what'setc/scilab.start?", maybe don't. π«Ά--timeout <delay>β kill the Scilab process after the given delay. it's on a timer and it means it.
π Developer arguments π
-debugβ start Scilab undergdb. you can define the variableSCILAB_GDB_OPTto add custom arguments togdb.-debug-kdbgβ start Scilab underkdbg.-profilingβ start Scilab undervalgrind. you can define the variableSCILAB_VALGRIND_OPTto add custom arguments tovalgrindand override the existing valgrind arguments.-profiling-visuβ start Scilab undercallgrind. you can define the variableSCILAB_VALGRIND_OPTto add custom arguments tocallgrindand override the existing callgrind arguments.-disable-exception-catchingβ disable the Scilab exception catching system.--parse-file <file>β only parse the given file argument, without execution, and exit. no running, just reading. π--parse-traceβ display bison state machine evolution. (yes bestie, it's listed again. i don't make the rules, i just keep every single detail. β¨)--pretty-printβ display pretty-printed code using standard Scilab syntax. (also a repeat. we stay faithful to the original. π)
π ENVIRONMENT VARIABLES π
these are the little levers you can pull before scilab even wakes up:
SCIVERBOSEβ provides debugging information of the startup.JAVA_HOMEβ declares which Java Virtual Machine to use.SCI_DISABLE_TKβ disables Tk features. β οΈ note the fine print: but not Tcl. Tcl stays. Tk goes.SCI_JAVA_ENABLE_HEADLESSβ runs Java Headless VM.SCI_DISABLE_EXCEPTION_CATCHINGβ disable the catch by Scilab of exceptions (segfault, ...). so when things go boom, they just... boom. π
π AUTHOR π
this manual page was written by Julien Puydt for Debian. slay, Julien. π
and that's the whole page, bestie β no notes, no skips, every flag accounted for. πΈ
signing off: this was the scilab-cli(1) page from November 2017, part of the General Commands Manual. π
π¦ where this page comes from
- debian bookworm: scilab 6.1.1+dfsg2-6 Β· GPL-2.0-or-later
- debian trixie: scilab 2024.1.0+dfsg-6+deb13u1 Β· GPL-2.0-only OR CECILL-2.1
- ubuntu jammy: scilab 6.1.1+dfsg2-3ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: scilab 2024.0.0+dfsg-5build3 Β· GPL-2.0-only OR CECILL-2.1
- ubuntu questing: scilab 2024.1.0+dfsg-7ubuntu1
- ubuntu resolute: scilab 2024.1.0+dfsg1-2 Β· GPL-2.0-only OR CECILL-2.1
- ubuntu stonking: scilab 2024.1.0+dfsg1-3build1 Β· GPL-2.0-only OR CECILL-2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms