08-09-2013
Doh! I bet yer right^ I prob forgot to set the permission to execute *blushing*
I just logged out of the ssh and rebooted the PC, will check in the am but bet yer prob right!
Love this place! You all are real patient and nice. Sorry for the basic questions! I've a python book on order from the library so, I should be less confused soon....(well maybe not
)
The command was >foo and >ksh foo
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I'm interested to know why is it that I can't run a specific *.ksh file, is it due to permission settings? If it is, how can I work around that? I'm not logging on as the administrator, do I need to be an administrator to run *.ksh files? (5 Replies)
Discussion started by: handynas
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (2 Replies)
Discussion started by: hodges
2 Replies
3. Shell Programming and Scripting
I want to write a Kshell program which will start the servers(Oracle,DataIntegrator).
Can anybody help me with this?
I would appreciate your help.
Thanks in advance (0 Replies)
Discussion started by: pari111222
0 Replies
4. Shell Programming and Scripting
I'm comfortable with csh. However, i need to run a ksh script.Using exec /bin/ksh -i , I'm able to invoke ksh, but the script is not running any further. Variable QDDTS is an env setting on my csh env.
The ksh script goes like this -
#!/bin/csh
exec /usr/local/bin/ksh -i
function... (3 Replies)
Discussion started by: m_shamik
3 Replies
5. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
6. Shell Programming and Scripting
Hi everyone,
I'm new to the forums, as you can probably tell... I'm also pretty new to scripting and writing any type of code.
I needed to know exactly how I can grep for multiple strings, in files located in one directory, but I need each string to output to a separate file.
So I'd... (19 Replies)
Discussion started by: LDHB2012
19 Replies
7. Shell Programming and Scripting
i ran the below in ksh...
nohup <script> &
it is runnign in background.
now how do i see if the above command is success...
i also need to bring the command to foreground and view the run details.
pls advise how to do that... (1 Reply)
Discussion started by: billpeter3010
1 Replies
8. Shell Programming and Scripting
How to run multiple Queries in a ksh Script
I have a KSH script that has one SQL Query and generates and emails output of the query in HTML format. I want to change the script so that it has three SQL queries and the last query generates and emails the HTML output page of just that query.
So far... (5 Replies)
Discussion started by: JolietJake
5 Replies
9. Shell Programming and Scripting
I create commands within a pipe and finally want them to be executed instead of being displayed on the screen. What is the last stage in this pipe? I found by guessing that "ksh" is working, but is this the best to use here?
It boils down to this:
echo "print Hello World!"| kshWhat is the... (15 Replies)
Discussion started by: Cochise
15 Replies
10. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies
MPB(1) MIT Photonic-Bands Package MPB(1)
NAME
mpb - compute eigenmodes of periodic dielectric structures
SYNOPSIS
mpb [OPTION]... [DEFINITION]... [CTLFILE]...
DESCRIPTION
MIT Photonic Bands (MPB) is a free program to compute the band structures (dispersion relations) and electromagnetic modes of periodic
dielectric structures, and is applicable both to photonic crystals (photonic band-gap materials) and a wide range of other optical prob-
lems. Its features include: fully-vectorial, 3D computations; a flexible user-interface based upon the GNU Guile scripting language; output
in HDF format; and iterative, targeted eigensolver methods to address very large problems by solving for only a few states near a specified
frequency.
More information on MPB, including a detailed manual, can be found online at the MPB home page: http://ab-initio.mit.edu/mpb/
A typical invocation of MPB looks like:
mpb foo.ctl >& foo.out
This causes MPB to process the control file foo.ctl and redirect its output to foo.out. (One typically redirects output to a file, as the
output is verbose and contains a number of comma-delimited datasets that one can extract by grepping.)
You can also use MPB in an interactive mode, in which you can type in MPB commands (in Scheme/Guile) and immediately see their results.
Interactive mode is entered when you invoke mpb with no control files, or if your control files don't contain any run statements (which
disable interactive mode), or if the last control file ends by setting (set! interactive? true) in which case interactive mode is entered
after the control files execute.
Another useful feature is that you can alter parameters in your control files from the command line, by including definitions of the form
variable=value as arguments to mpb (before the control files). This overrides the values of variables defined with define-param in the
control file (including all of the predefined MPB input variables).
Multiple control files and definitions are executed in sequence, in the order they are specified on the command line.
OPTIONS
-h, --help
Display help on the command-line options and usage.
-V, --version
Print the version number and copyright info for mpb.
-v, --verbose
Verbose output.
BUGS
Send bug reports to S. G. Johnson, stevenj@alum.mit.edu.
AUTHORS
Written by Steven G. Johnson. Copyright (c) 1999, 2000, 2001, 2002 by the Massachusetts Institute of Technology.
SEE ALSO
mpb-split(1), mpb-data(1)
MPB
January 27, 2000 MPB(1)