02-13-2019
\opt\sys\doc this is the path and files will be created under that path
Im new in Java and i want your help to have the code if you can help me
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Please provide your inputs..
Thanks in Advance,
Mansa (1 Reply)
Discussion started by: mansa
1 Replies
2. UNIX for Dummies Questions & Answers
hello,
I would like to grant full access to a directory which is owned by root and the web application that created it. I have though of adding the permission to the whole world, but for security reason I would like to grant it to one more user.
I have tried this 'chmod -U newUser+wrx... (2 Replies)
Discussion started by: run123
2 Replies
3. Shell Programming and Scripting
In my script, I am creating a file ----> then writting one line (i.e. Timestamp) ----> then FTP'ing. The same script can be executed by many other users.
While other users executing this script, they couldn't Over write this one line (i.e. Timestamp)
My expectation
So I wanted to create a... (2 Replies)
Discussion started by: sbmk_design
2 Replies
4. UNIX for Dummies Questions & Answers
We have utility running on Unix which generates Files with records greater than 32760 , (max supported by Mainframe) .Our requirement is to transfer is file to Mainframe .When we ftp the in binary format it automatically wraps it up..so we are good there...
But now we need to zip and send the file... (2 Replies)
Discussion started by: nishantrk
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs.
Thanks in advance
---------- Post updated at 12:49 AM ---------- Previous update was at 12:31... (10 Replies)
Discussion started by: sanoop
10 Replies
6. Programming
Hello
Please why the files have not created?
Thank you (0 Replies)
Discussion started by: chercheur857
0 Replies
7. Linux
Hi
How can I write a Java program to execute Linux commands? What is the best approach:
Invoking the Linux shell within Java and executing commands
or, using the Java APIs to do the stuff. Since it is platform independent, it'll know itself what to do. We need not check which OS the Java... (1 Reply)
Discussion started by: Dorothy
1 Replies
8. Shell Programming and Scripting
Hi,
I have a file with below format
myfile.txt
aa
aa1
aa2
qq
aa4
ghs
aa6
bbc
gdf
I m looking to create a file where lines begins with aa.
myfile1.txt
aa
aa1
aa2 (4 Replies)
Discussion started by: Litu1988
4 Replies
9. Shell Programming and Scripting
Hello,
I am looking for a UNIX shell script which can help me for access restriction.
1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user.
like as below
ls -lrt *.txt
-rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt
-rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies
LEARN ABOUT DEBIAN
debian::javahelper::java
Debian::Javahelper::Java(3) Javahelper Debian::Javahelper::Java(3)
NAME
Debian::Javahelper::Java - Javahelper core library.
SYNOPSIS
use Debian::Javahelper::Java;
my @paths = scan_javadoc("/usr/share/doc/libfreemarker-doc/api/");
print "Freemarker is linked to the following APIs:
- ",
join("
- ", @paths), "
";
my @packnames = find_package_for_existing_files("/bin/ls",
"/bin/bash");
print "/bin/ls and /bin/bash are installed via: ",
join(", ", @packnames), "
";
DESCRIPTION
This module is used by various javahelpers to share common code.
Please note this API is not stable and backwards compatibility is not guaranteed at the current time. Please contact the maintainers if you
are interested in a stable API.
Methods
scan_javadoc($path)
Scans the javadoc at $path and returns a list of javadocs it is linked to on the system.
Currently it ignores all javadocs linked via other locations than /usr/share/doc and it also makes an assumption that the linked
javadoc is in /usr/share/doc/<package>/<dir-or-symlink>. Of course, all Java Policy compliant packages provide their javadoc from
there.
If /usr/share/doc/<package>/<dir-or-symlink> appears to be a symlink, then it is followed (except for default-jdk-doc).
find_package_for_existing_files(@files)
Consults dpkg(1) to see which packages provides @files and returns this list. All entries in @files must exists (but is not required to
be files) and should not be used on a directory.
Furthermore all entries must be given with absolute path.
parse_manifest_fd($fd, $filename)
Parses a manifest from $fd, which must be a readable filehandle, and returns a Debian::Javahelper::Manifest.
$filename is only used to report parsing errors and should be something that identifies the source of $fd.
write_manifest_fd($manifest, $fd, $filename)
Writes $manifest to the writable filehandle $fd. $manifest must be a Debian::Javahelper::Manifest.
$filename is only used to report errors and should be something that identifies $fd.
write_manifest_section_fd($section, $fd, $filename)
Writes $section to the writable filehandle $fd. $section must be a Debian::Javahelper::ManifestSection.
$filename is only used to report errors and should be something that identifies $fd.
NB: Helper - Not exported.
slurp_file($file)
Reads all lines in $file and returns them as a list.
NB: Helper - Not exported.
SEE ALSO
Debian::Javahelper::Manifest(3) Debian::Javahelper::ManifestSection(3)
AUTHOR
Niels Thykier <niels@thykier.net>
COPYRIGHT AND LICENSE
Copyright 2010 by Niels Thykier
This module is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.
0.43 2012-01-10 Debian::Javahelper::Java(3)