9 More Discussions You Might Find Interesting
1. 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
2. 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
3. UNIX for Advanced & Expert Users
I should make an executable on our server, and are having some problem (I changed this question cause I found out that anser).
I'm getting this error when trying to do make:
In file included from...
/usr/include/sys/file.h:161: error: expected specifier-qualifier-list before 'u_int'
*** Error... (1 Reply)
Discussion started by: 244an
1 Replies
4. 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
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
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
7. 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
8. UNIX for Dummies Questions & Answers
Hello,
I am very new to UNIX and I have been learning about writing scripts and making them executable. I created a script called myscript. It has three lines:
#! /bin/sh
# This is my first shell script
echo friendsjustfriends
Now I try to run it using the sh command and it works
Next I... (4 Replies)
Discussion started by: rohitx
4 Replies
9. 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
jpackage-utils(7) RPM Java packaging jpackage-utils(7)
NAME
jpackage-utils - Utilities, macros and other files for the JPackage Project <http://www.jpackage.org/>:
SYNOPSIS
build-classpath
build the Java classpath in a portable manner
build-jar-repository
build a jar repository in a portable manner
rebuild-jar-repository
rebuild a jar repository in a portable manner (after a jvm change...)
build-classpath-directory
build the Java classpath from a directory
diff-jars
show jar content differences
jvmjar
install jvm extensions
create-jar-links
create custom jar links
clean-binary-files
remove binary files from sources
check-binary-files
check for presence of unexpected binary files
DESCRIPTION
The JPackage Project has two primary goals:
- To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.
- To establish an efficient and robust policy for Java software packaging and installation.
We focus on free and open source software whenever possible. For convenience, we also provide non-free packages without the restricted
source code.
Our RPMs are generic in that they should work on any RPM based Linux distribution (Mandriva, Red Hat, SuSE, others). Other packaging format
suggestions are welcome too.
FILES
/use/share/java-utils/java-functions
shell script functions library for Java applications
/etc/java/jpackage-release
string identifying the currently installed JPackage release
/etc/java/java.conf
system-wide Java configuration file
~/.java/java.conf
user's Java configuration
/etc/rpm/macros.jpackage
RPM macros for Java packagers and developers
SEE ALSO
Regular Manual Pages
build-classpath(1)
build-classpath-directory(1)
build-jar-repository(1)
check-binary-files(1)
clean-binary-files(1)
create-jar-links(1)
diff-jars(1)
find-jar(1)
jvmjar(1)
rebuild-jar-repository(1)
rebuild-security-providers(1)
java.conf(5)
Documentation
Following files are located in your standard documentation directory
HEADER.JPP
A standard header with license for spec files of JPackage Project
clean-binary-files.txt
A further documentation for check-binary-files(1), clean-binary-files(1) and create-jar-links(1) commands
httpd-javadoc.conf
Example JPackage javadoc configuration snippet for Apache
jpackage-1.5-policy.xhtml
JPackage Java infrastructure design and packaging policy
jpackage-utils-policy
JPackage packaging (naming) policy
AUTHOR
Written by the JPackage Project
REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/)
jpackage-utils 1.7.5 February 2009 jpackage-utils(7)