06-29-2008
Run it with ./myscript as its not in your PATH
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I've got a file named jdictd.sh containing the following:
--- begin file contents ---
#! /bin/csh
echo I\'m running!
java -cp jdictd.jar org.dict.server.JDictd data/dict.ini
# Use the following line instead if JRE 1.1 is used
# jre -cp jdictd.jar org.dict.server.JDictd data/dict.ini
---end... (2 Replies)
Discussion started by: ropers
2 Replies
2. AIX
Hi All:
I am a newbie.
I have shell script and bunch of java jar files and I want to give one single executable file (may be .bin).
Ex: I have test.sh, jar1.jar, jar2.jar. I have to make process.xxx
When we run "process.xxx" it will run the "test.sh" script which inturn uses jar1.jar and... (0 Replies)
Discussion started by: laxman123
0 Replies
3. UNIX for Dummies Questions & Answers
making a script in vi to create a shell script called wherearethey by entering the following script:
echo -n "Who are you looking for: "read userif then list=`w | grep $user | cut -c19-30` if then echo "The user $user is logged in from $list" else echo "The user $user is not logged in... (3 Replies)
Discussion started by: curtner
3 Replies
4. Shell Programming and Scripting
Guys I placed
#!path/awk -f
placed awk script
and used $1 to call 1st inputfile inside the script.
But some where I did mistake. Could you please help me run this script as executable
I forgot to mention I also used BEGIN before placing awk script. But nothing worked out.
Script
... (2 Replies)
Discussion started by: repinementer
2 Replies
5. UNIX for Dummies Questions & Answers
Hi guys, i'm trying to make a file called 'run-all-tests' executable but it is not letting me for some reason. I am presented with the following error: chmod: cannot access `./run-tests': No such file or directory
Basically i have a folder called ex3 and within that there are task folders:... (11 Replies)
Discussion started by: Shyamz1
11 Replies
6. Shell Programming and Scripting
Hello,
I have a perl program called snp_hwe.pl
I have another program called hwe_test.run which contains the following:
for file in *.inp
do
cp $file genotype_counts_c.txt
./snp_hwe.exe > $file'.res'
done
I want to change my perl program to an executable program while changing... (3 Replies)
Discussion started by: Homa
3 Replies
7. UNIX for Advanced & Expert Users
Hello,
I have a column which have 7200 numbers and I am deciding to pick up 1440 numbers randomly without any reputation? Could any one let me know which script in unix will be work for my case?
Regards
Sajjad (17 Replies)
Discussion started by: sajmar
17 Replies
8. Shell Programming and Scripting
Hi all,
I'm new to Unix so just wanted some help.
I've been self learning and came accross a question online that I was trying. It is to make any shell script executable, the name of the file is to be made executable.
I would use nano and type in something like
#! /bin/bash
Chmod +x... (4 Replies)
Discussion started by: HelenaR
4 Replies
9. Shell Programming and Scripting
Does it possible to make some bash script automatic to be a executable when transfered to another pc...? (5 Replies)
Discussion started by: tomislav91
5 Replies
LEARN ABOUT DEBIAN
ipc::run::safehandles
IPC::Run::SafeHandles(3pm) User Contributed Perl Documentation IPC::Run::SafeHandles(3pm)
NAME
IPC::Run::SafeHandles - Use IPC::Run and IPC::Run3 safely
SYNOPSIS
use IPC::Run::SafeHandles;
DESCRIPTION
IPC::Run and IPC::Run3 are both very upset when you try to use them under environments where you have STDOUT and/or STDERR tied to
something else, such as under fastcgi.
The module adds safe-guarding code when you call IPC::Run or IPC::Run3 under such environment to make sure it always works.
If you intend to release your code to work under normal envionrment as well as under fastcgi, simply use this module after the "IPC"
modules are loaded in your code.
unimport
When unimport, the original IPC::Run and/or IPC::Run3 functions are restored.
AUTHOR
Chia-liang Kao, "<clkao at bestpractical.com>"
BUGS
Please report any bugs or feature requests to "bug-ipc-run-safehandles at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IPC-Run-SafeHandles>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc IPC::Run::SafeHandles
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/IPC-Run-SafeHandles>
o CPAN Ratings
<http://cpanratings.perl.org/d/IPC-Run-SafeHandles>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=IPC-Run-SafeHandles>
o Search CPAN
<http://search.cpan.org/dist/IPC-Run-SafeHandles>
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 Chia-liang Kao, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2009-01-28 IPC::Run::SafeHandles(3pm)