8 More Discussions You Might Find Interesting
1. AIX
I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.
bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies
2. Shell Programming and Scripting
Hi All,
I am having 7 jar files in a dir. abc like listed below
bash-3.00$ cd abc
bash-3.00$ ls
123.jar
23wdawd.jar
dfsa23.jar
dsa.jar
wew234.jar
adsd234234.jar
dfsda423.jarNow i want to assign all this jar files to a variable in the below format
... (6 Replies)
Discussion started by: natraj005
6 Replies
3. Shell Programming and Scripting
Hi,
Is there an option with jar command which allows us to copy some class files(already existing,want to override)to a jar file without exploding it.?
Thanks in advance. (1 Reply)
Discussion started by: dnam9917
1 Replies
4. Solaris
Hi ,
i use below command to create a jar from /home/surya
jar -cvf foldername.jar jarfolderpath
foldrename.jar= directorywhere jar file needs to be created including jar file name
jarfolderpath: directory which needs to be included to create a jar
Now taking below scenario:... (1 Reply)
Discussion started by: surya.jena
1 Replies
5. Solaris
hi all,
i am using jar as following :-
jar cvf file_name.txt.jar file_name.txt
but it is file by file
my problem is i have i want to run jar on all files in speaific directory
what can i do for this
this is for the first time
the secand time there was files already ended by... (5 Replies)
Discussion started by: xxmasrawy
5 Replies
6. UNIX for Dummies Questions & Answers
Hello sir,
I have created a jar file having some code in java.What it does is that it calls a shell code (a.sh) which is in the same directory.
Now my requirement is that I want to jar the a.sh also along with the other files and want to call the a.sh which is now inside the jar file and not... (1 Reply)
Discussion started by: nsharath
1 Replies
7. Shell Programming and Scripting
Hi vgersh99,
Iam sorry for that. In future, I will start new threads for different topics. Assuming that we don't know what the name of the jar file, we are searching for is, do we have any way, of finding a string or a file in it. Is there any Unix command for it?
thanks. (2 Replies)
Discussion started by: pjanakir
2 Replies
8. Solaris
I am a beginner to Solaris
In Solaris you will find 'jar'. I am used to 'tar' command in Linux.
What makes the differenced between 'jar' and 'tar' ?
Is 'jar' unique to Solaris?
I found a command called 'compress' too in Solaris.
It is not in my Linux. Is it something special to... (1 Reply)
Discussion started by: Angelo
1 Replies
LEARN ABOUT CENTOS
spectool
SPECTOOL(1) User Commands SPECTOOL(1)
NAME
spectool - manual page for spectool v1.0.10rpmdev1
SYNOPSIS
spectool [<options>] <specfile>
DESCRIPTION
Spectool is a tool to expand and download sources and patches from specfiles.
If you experience problems with specific specfiles, try to run
rpmbuild --nobuild --nodeps <specfile>
on the file which might give a clue why spectool fails on a file (ignore anything about missing sources or patches). The plan is to catch
errors like this in spectool itself and warn the user about it in the future.
OPTIONS
Operating mode:
-l, --lf, --list-files
lists the expanded sources/patches (default)
-g, --gf, --get-files
gets the sources/patches that are listed with a URL
-h, --help
display this help screen
Files on which to operate:
-A, --all
all files, sources and patches (default)
-S, --sources
all sources
-P, --patches
all patches
-s, --source x[,y[,...]]
specified sources
-p, --patch a[,b[,...]]
specified patches
Miscellaneous:
-d, --define 'macro value'
defines RPM macro 'macro' to be 'value'
-C, --directory dir
download into specified directory (default '.')
-R, --sourcedir
download into rpm's %{_sourcedir}
-n, --dryrun, --dry-run
don't download anything, just show what would be done
-f, --force
try to unlink and download if target files exist
-D, --debug
output debug info, don't clean up when done
FILES
/etc/rpmdevtools/curlrc
optional curl(1) configuration
spectool v1.0.10rpmdev1 June 2014 SPECTOOL(1)