12-25-2008
please use the search function or look at the bottom of this page...
More UNIX and Linux Forum Topics You Might Find Helpful
10 More Discussions You Might Find Interesting
1. IP Networking
I have a SCO OpenServer 5 and I'll like to know about a Very good Book for Unix Networking that can help me with this server or any good book about Unix Networking.
Thanks! (2 Replies)
Discussion started by: SuPeRbYtE
2 Replies
2. Linux
I want to learn Linux/Unix shell scripting, I searched this forum but got some results for Unix Admin books and general Linux books.
Would someone recommend a good Linux Shell Scripting book?
I did order one book
A Practical Guide to Linux(R) Commands, Editors, and Shell Programming ... (4 Replies)
Discussion started by: thoughts
4 Replies
3. Shell Programming and Scripting
Is there a book available that goes into the PERL WIN32 module in depth ?
I like the Unix in a nutshell or Perl Black Book by Holzner way of teaching. Teach by example.
Anyone ?
Thanks
Popeye, Olive and sweetpea :p (1 Reply)
Discussion started by: popeye
1 Replies
4. UNIX for Dummies Questions & Answers
Hello people.I'm new to the forum and would like to seek your opinion in purchaing a copy of a good Unix and Shell scripting book.
I have good knowledge of basic unix concepts and now i would like to delve into more details.
Your suugestion much appreciated.
Thx (1 Reply)
Discussion started by: aeontoam82
1 Replies
5. UNIX for Dummies Questions & Answers
Hi guys
I want o learn and understand shell scripting real good, Ive got already some background
Due to the fact that there is ton of books with these theme, can you recommend me some good book with with examples explanations, pls no theoretical books :D
Thxs (3 Replies)
Discussion started by: kl1ngac1k
3 Replies
6. UNIX for Dummies Questions & Answers
I looking to broaden my knowledge in Unix/Linux. I have taken some basic classes in the past and tinkered a little with operating system at home..
What i am looking for is if someone could suggest a good book or class or both to help out. Looking at getting a Unix or Linux Certification. I work... (7 Replies)
Discussion started by: harlemi
7 Replies
7. Shell Programming and Scripting
Hi,
One of my friend has recently joined a company wherein they have given him a project in C shell Scripting.
But, he is new to Scripting. requesting me a good book to learn C shell scripting.
As I'm not much into Scripting I'd request any one to suggest me the best book to learn C shell... (1 Reply)
Discussion started by: suren1829
1 Replies
8. Programming
Hello,
May be my post may look naive to many...but it isn't if you were to believe me.After, trying to learn programming in C for at least 5 years , I concluded that K & R is the best book to learn C, alas I took a lot of time to realize this.
So, I'm going to start learning how to program... (8 Replies)
Discussion started by: blackwhite
8 Replies
9. Shell Programming and Scripting
I'm going to be starting a job in a month or so that I need to brush up on my Unix shell scripting skills. About 15 years ago, I took a college class for Unix shell scripting. I would like to find a good college book again, rather than just going to Amazon and just buying anything.
This is... (2 Replies)
Discussion started by: dorlow
2 Replies
10. UNIX for Advanced & Expert Users
Hello all :)
since cups 2.2.7 on Ubuntu 18.04 some (not) nice things changed, i would prefer a book for CUPS. Can someone recommend me one? I searched for, but find only very very old books, over 10 years old.
If possible I am also satisfied with a good and understandable documentation... (2 Replies)
Discussion started by: darktux
2 Replies
LEARN ABOUT MOJAVE
jrunscript
jrunscript(1) General Commands Manual jrunscript(1)
NAME
jrunscript - command line script shell
SYNOPSIS
jrunscript [ options ] [ arguments... ]
PARAMETERS
options
Options, if used, should follow immediately after the command name.
arguments
Arguments, if used, should follow immediately after options or command name.
DESCRIPTION
jrunscript is a command line script shell. jrunscript supports both an interactive (read-eval-print) mode and a batch (-f option) mode of
script execution. This is a scripting language independent shell. By default, JavaScript is the language used, but the -l option can be
used to specify a different language. Through Java to scripting language communication, jrunscript supports "exploratory programming"
style.
NOTE: This tool is experimental and may not be available in future versions of the JDK.
OPTIONS
-classpath path
Specify where to find the user's .class files that are accessed by the script.
-cp path
This is a synonym for -classpath path
-Dname=value
Set a Java system property.
-Jflag
Pass flag directly to the Java virtual machine on which jrunscript is run.
-l language
Use the specified scripting language. By default, JavaScript is used. Note that to use other scripting languages, you also need to spec-
ify the corresponding script engine's jar file using -cp or -classpath option.
-e script
Evaluate the given script. This option can be used to run "one liner" scripts specified completely on the command line.
-encoding encoding
Specify the character encoding used while reading script files.
-f script-file
Evaluate the given script file (batch mode).
-f -
Read and evaluate a script from standard input (interactive mode).
-help
Output help message and exit.
-?
Output help message and exit.
-q
List all script engines available and exit.
ARGUMENTS
If [arguments...] are present and if no -e or -f option is used, then the first argument is the script file and the rest of the arguments,
if any, are passed as script arguments. If [arguments..] and -e or -f option are used, then all [arguments..] are passed as script argu-
ments. If [arguments..], -e and -f are missing, interactive mode is used. Script arguments are available to a script in an engine variable
named "arguments" of type String array.
EXAMPLES
Executing inline scripts
jrunscript -e "print('hello world')"
jrunscript -e "cat('http://java.sun.com')"
Use specified language and evaluate given script file
jrunscript -l js -f test.js
Interactive mode
jrunscript
js>print('hello world');
hello world
js>34 + 55
89
js> thread(function() { print('hello world'); }
hello world
js>
Run script file with script arguments
jrunscript test.js arg1 arg2 arg3
test.js is script file to execute and arg1, arg2 and arg3 are passed to script as script arguments. Script can access these using "argu-
ments" array.
SEE ALSO
If JavaScript is used, then before evaluating any user defined script, jrunscript initializes certain built-in functions and objects. These
JavaScript built-ins are documented in jsdocs.
06 Aug 2006 jrunscript(1)