04-03-2008
First find the file.
find / -name oraenv
The file would mostly be under your $ORACLE_HOME/bin directory.
Secondly run the file as suggested.
HTH
enc
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to do a full system inventory & pull details for:
CPU
Mem
HDD (Size, config, partitions)
Is there a single command to get this, or separate for each?
Thanks,
Gareth. (3 Replies)
Discussion started by: garethh
3 Replies
2. Red Hat
Hi
Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc).
I tried uname -a but cannot understand what is what...
Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
I dont have the root password, I can only ssh and have to... (3 Replies)
Discussion started by: amiri2000
3 Replies
3. Solaris
I am using Solaris 10
Please tell me which path values are necessary for
PATH=
MANPATH=
LD_LIBRARY_PATH= (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
4. Shell Programming and Scripting
DNS details of HP-UX
--------------------------------------------------------------------------------
1)how to get the DNS details, as i need to use these in shell script..
require info ASAP...
Thanks in advance (1 Reply)
Discussion started by: ksailesh
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
i am working on Tru64 os...
When i try to connect to an Oracle instance, the usual method i follow is
chsxsora1:oracle:PRD1 > . oraenv
ORACLE_SID = ? PRD1
But for one Instance it was not working,
chsxsora2:oracle:TST2 > . oraenv
ORACLE_SID =*= ? TST2
i... (0 Replies)
Discussion started by: saharookiedba
0 Replies
6. HP-UX
OS: HP-UX
I need the following details from HP-UX server.
I don't have root login, so most of the commands require root privilege
1. No of cpu in the server
2. Total Memory, Free & Used
3. Space used and free space
Any help would be highly appreciated (6 Replies)
Discussion started by: manijash
6 Replies
7. Shell Programming and Scripting
Hi all,
I am having lots of oracle servers. I want to collect some health check details from all the server and report to one single centralized server. What would be best solution for this?
OS: AIX
Thanks
Gopal (1 Reply)
Discussion started by: ilugopal
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a Linux server where many script run on daily basis through crontab.
I could see some entries on my name but I am not able to get the details.
>>ps -ef | grep an001
>>root 9905 1742 0 Apr17 ? 00:00:00 sshd: an001
>>an001 9907 9905 0 Apr17 ? ... (3 Replies)
Discussion started by: infyanurag
3 Replies
9. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All ,
I'm a fresher and don't have much knowledge on scripting.
I want to extract log details like count of rows inserted , job start time and end time from Datastage log and want to insert into table.
Can you please me in this (2 Replies)
Discussion started by: Srikavya_manda
2 Replies
GZEXE(1) General Commands Manual GZEXE(1)
NAME
gzexe - compress executable files in place
SYNOPSIS
gzexe [ name ... ]
DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a
penalty in performance). For example if you execute ``gzexe /bin/cat'' it will create the following two files:
-r-xr-xr-x 1 root bin 9644 Feb 11 11:16 /bin/cat
-r-xr-xr-x 1 bin bin 24576 Nov 23 13:21 /bin/cat~
/bin/cat~ is the original file and /bin/cat is the self-uncompressing executable file. You can remove /bin/cat~ once you are sure that
/bin/cat works properly.
This utility is most useful on systems with very small disks.
OPTIONS
-d Decompress the given executables instead of compressing them.
SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1)
CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the
PATH environment variable to find gzip and some other utilities (tail, chmod, ln, sleep).
BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases,
using chmod or chown.
GZEXE(1)