I have installed oracle in Solaris machine and unable to set the env variable. I tried to put the env variable in .dtprofile file but didn't help. So everytime I login in need to run the command and export the variable. Kindly suggest where I am doing wrong.Pls excuse as I am not too familiar with unix .
OS: Sun OS 5.10
User name : oracle
shell : sh
user home dir : /oracle
Here are the contents of user's home dir
I put something like this in .dtprofile
Variable= value
export variable
hi all,
i have one account for unix Tru64.
i can login this account and i do execute special shell script(login sqlplus, execute another shell, etc... ) on this account on my server.
but i can't run this shell from cron tab.
i think that become cron user envirnoment variables. (3 Replies)
Hi,
I want to get the value of the env varables using the ksh script. All the env variables are stored in a file.
Eg.
file1
$INPATH
$OUTPATH
myscirpt:
for name in `awk { print $1 } file1`
do
cd $name
done
i'm getting the error like $INPATH not found.
in the same script... (1 Reply)
Hi !
How to export ENV variables, which remains set for all the shell
Example :-
Login :myID
Pwd : **** -> Here my ID .profile is executed. Let say I set MYENV variable
Kisses% rlogin ABC -l XXXGroupID -> I login into a remote Solaris Server ABC
password : **** -> "XXXGroupID's... (1 Reply)
Hi,
I have a script that sets some env variables.
I want to source the script in a new xterm and
after the script execution is over, the xterm has to be alive with the env variables set according to the script.
I tried
xterm -e "source ./myscript;tcsh" &
The variables are getting set... (3 Replies)
Hello
whenenver i login to solaris server the prompt is displaying as #. i want to customize the promt with server name for all users.
how to customize the PS1 variable for all the users?.
Thanks for your help in advance.
regards,
Saravana (2 Replies)
So that they can be used in a cgi script? How best to do this? Thanks
---------- Post updated at 06:24 PM ---------- Previous update was at 02:38 AM ----------
Anyone that can help me with this?
Basically I want to add an environment variable that will be visible to the cgi scripts when I... (0 Replies)
Hi
I'm trying to understand variable scopes in solaris10.
It is said that to display env variables we use 3 commands :
- env
- set
- export
What is the difference between them ?
thx for help.
---------- Post updated at 11:00 AM ---------- Previous update was at 10:50 AM ----------
... (2 Replies)
i have a file that i need to edit and replace a single value with another. so i have two variables, $oldvalue and $newvalue but below doesn't work:
ed file.txt << EOF
,s/$oldversion/$newversion/g
wq
EOFi presume it's the $ that is the issue since it's actually special to ed. any suggestions?... (1 Reply)
Hi,
I need to add file the /usr/lib under the command set. The /usr/lib need to be set under the DIRS=' ' while listing the set command.
I tried with the command below:
export PATH=${PATH}:/usr/bin
But this doesn't work out... (4 Replies)
Discussion started by: gsiva
4 Replies
LEARN ABOUT DEBIAN
make-jpkg
MAKE-JPKG(1) General Commands Manual MAKE-JPKG(1)NAME
make-jpkg - builds Debian packages from Java binary distributions
SYNOPSIS
make-jpkg [OPTION]... [FILE]
DESCRIPTION
make-jpkg builds a Debian package from the given Java distribution FILE.
Supported java binary distributions currently include:
* Oracle (http://www.oracle.com/technetwork/java/javase/downloads) :
- The J2SE Development Kit (JDK), version 6 (update >= 10), 7
- The J2SE Runtime Environment (JRE), version 6 (update >= 10), 7
- The J2SE API Javadoc, version 6 (update >= 10), 7
(Choose tar.gz archives or self-extracting archives, do _not_ choose the RPM!)
The following options are recognized:
--full-name NAME
full name used in the maintainer field of the package
--email EMAIL
email address used in the maintainer field of the package
--changes
create a .changes file
--revision
add debian revision
--help display help text and exit
--version
output version information and exit
Download a supported Java RE or SDK or API tar.gz or self-extracting archive from http://www.oracle.com/technetwork/java/javase/downloads
and execute make-jpkg file with the downloaded file. The program asks the user for additional information and builds a Debian binary pack-
age in the current directory.
The program requires about 200 MB free disk space in a temporary directory. The temporary directory defaults to /tmp but you can specify an
alternate directory by setting the environment variable TMPDIR.
EXAMPLE
To install Oracle(TM) 7 Standard Edition JDK, download a release - 64 bits version of update 2 from http://www.oracle.com/technet-
work/java/javase/downloads/jdk-7u2-download-1377129.html in this example - and invoke make-jpkg:
make-jpkg <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz
This generate a Debian package in the current directory, that can be installed using dpkg:
dpkg -i oracle-j2sdk1.7_1.7.0+update2_amd64.deb
When you're done, you can delete initial download as well as generated package:
rm <path_to_download_directory>/jdk-7u2-linux-x64.tar.gz oracle-j2sdk1.7_1.7.0+update2_amd64.deb
ENVIRONMENT
TMPDIR base directory used for temporary files (defaults to /tmp)
J2SE_PACKAGE_FULL_NAME
full name used in the maintainer field of the package; if none is supplied then the default of "Debian Java Maintainers" is used.
J2SE_PACKAGE_EMAIL
email address used in the maintainer field of the package; if none is supplied the default of "pkg-java-maintain-
ers@lists.alioth.debian.org" is used.
SEE ALSO update-java-alternatives(1)AUTHOR
This manual page was written by Hubert Schmid <j2se-package@z42.de>.
It is now maintained by the Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>.
January 22, 2012 MAKE-JPKG(1)