08-30-2005
your recommendations
Hi all,
I'm trying to teach myself shell programming and scripting. What are good introduction level programming and/or scripting books that you recommend?
I will gather your suggestions into a list and check out the IT-related sections of the nearest Barnes & Noble stores. Or if you could recommend online book sources?
Thanks
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm on my way, I've seen the light and it's not a train at the other end of the tunnel :)
What tutorial or manual or reference point(s) would you recommend for an experienced DOS and CP/M type, who wants to learn the command equivalents within Unix?
I have a good understanding of program... (2 Replies)
Discussion started by: Keith
2 Replies
2. Solaris
Core dumps on larger systems have become quite large.
Sun, is beginning to ship 146Gig drives. What is the recommended partition size for swap?
I can not get a good answer to this question. The double your RAM recommendation is quite old and outdated.
thanks (1 Reply)
Discussion started by: bgboost
1 Replies
3. UNIX for Dummies Questions & Answers
Hello , im not sure if its the right forum... im sorry if not
im working with putty allot , but now I started to work with more graphical applications and
im looking for free simple and fast Xserver to remote connection, can someone recommend me
if there is something like that ? (3 Replies)
Discussion started by: umen
3 Replies
4. UNIX for Advanced & Expert Users
Hello Guru's,
I created this shell script to copy over the files from one location to other location and generating a list of files to process them through ETL tool. Could you please review the code and tell me if you have any recommendations or changes for my code or any thing wrong in my code.... (1 Reply)
Discussion started by: Ariean
1 Replies
5. Solaris
Current Setup:
OS: Solaris 10 (5.10) x64
Motherboard: SUPERMICRO MBD-PDSME+-O LGA 775 Intel 3010
SATA Controller: SUPERMICRO AOC-SAT2-MV8 - SATA Controller (x2)
Link Aggregated @ 2Gb: 110MB sustained throughput :b:
NAME STATE READ WRITE CKSUM
storagepool ONLINE ... (3 Replies)
Discussion started by: sol72
3 Replies
6. UNIX for Dummies Questions & Answers
I'm currently running 32-bit Xubuntu 8.10 and I'm thinking of changing over to 64-bit Ubuntu 9.04. Any recommendations on how to make this go more smoothly?
-----Post Update-----
Can I shuffle around the partitions and install it as a second OS? Is there a good way to do that? (2 Replies)
Discussion started by: CRGreathouse
2 Replies
7. UNIX for Dummies Questions & Answers
i have a little background in C (2 sems in university), and have been studying the bash articles on tldp.org i just wanted to know what you guys recommend i look up next. i'm interested in the server administration side of linux, and in kernel and peripheral interface. so i'm not sure whether to... (3 Replies)
Discussion started by: momo.reina
3 Replies
8. Fedora
I'd like to become more familiar with Unix. To that end I want to install and practice/play with a (open source) Unix distro; however, I'm uncertain which one I should use. I'm considering freebsd, openbsd, and openSolaris.
I'm familiar and comfortable with RHL/CentOS and Debian/Ubuntu. Keeping... (3 Replies)
Discussion started by: NateKin
3 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)