09-01-2008
filename="$ORACLE_HOME/bin/sqlplus"
if [ -s $filename ]
then
echo "YES. sqlplus available"
else
echo "NO sqlplus not avail"
fi
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello !!
Does anyone know how can I verify if my Solaris is 32 or 64 bit ??
Thank you !
Witt (3 Replies)
Discussion started by: witt
3 Replies
2. UNIX for Dummies Questions & Answers
Hello again,
Well i went ahead with my solaris installation tonight (on my pc) and it all appeared to work ok.
Unfortunately, i am unable to use the system yet because it gives me this horrible message straight after it boots up:
"The X-server can not be started on display :0..."
It... (4 Replies)
Discussion started by: timresh
4 Replies
3. Solaris
Hi,
I've just installed solaris 10 on one of my old PC's (a 1ghz 256M PC).
I think the installation worked ok but when I reboot it I can only login via the command line console and not the nice CDE interface.
Has anyone seen this before? Its probable something simple I'm doing wrong.
... (4 Replies)
Discussion started by: fishman2001
4 Replies
4. UNIX for Dummies Questions & Answers
Hi - Basic question from newbie
I need to find out how to verify hardware installed on HPUX server. Mid-range server - as in i need to prove to customer that a specific cpu is installed, so much memory is installed, etc.
PLEASE HELP.
TA (1 Reply)
Discussion started by: hoffies
1 Replies
5. HP-UX
Hi - Basic question from newbie
I need to find out how to verify hardware installed on HPUX server. Mid-range server - as in i need to prove to customer that a specific cpu is installed, so much memory is installed, etc.
PLEASE HELP.
TA (16 Replies)
Discussion started by: hoffies
16 Replies
6. Solaris
Does anybody have an idea, how to verify Sun Solaris installation? (3 Replies)
Discussion started by: agarwal
3 Replies
7. Solaris
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
8. Red Hat
Guys,
Can you help me how to verify the current installed NIC driver version in RHEL5.3?
Thanks.:D (1 Reply)
Discussion started by: shtobias
1 Replies
9. Solaris
I had no idea where I should post before i posting this .
I have googled many many articles about how I share my host win 7 file into my vmware 9 solaris 10 system but what the solutions I found are all not work for me.
for example
VMware Communities: file sharing - Windows XP guest -...... (3 Replies)
Discussion started by: SSUUser
3 Replies
10. Shell Programming and Scripting
Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons?
1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg
2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
LEARN ABOUT PHP
id3_get_version
ID3_GET_VERSION(3) 1 ID3_GET_VERSION(3)
id3_get_version - Get version of an ID3 tag
SYNOPSIS
int id3_get_version (string $filename)
DESCRIPTION
id3_get_version(3) retrieves the version(s) of the ID3 tag(s) in the MP3 file.
If a file contains an ID3 v1.1 tag, it always contains a 1.0 tag, as version 1.1 is just an extension of 1.0.
PARAMETERS
o $filename
- The path to the MP3 file Instead of a filename you may also pass a valid stream resource
RETURN VALUES
Returns the version number of the ID3 tag of the file. As a tag can contain ID3 v1.x and v2.x tags, the return value of this function
should be bitwise compared with the predefined constants ID3_V1_0, ID3_V1_1 and ID3_V2.
EXAMPLES
Example #1
id3_get_version(3) example
<?php
$version = id3_get_version( "path/to/example.mp3" );
if ($version & ID3_V1_0) {
echo "Contains a 1.x tag
";
}
if ($version & ID3_V1_1) {
echo "Contains a 1.1 tag
";
}
if ($version & ID3_V2) {
echo "Contains a 2.x tag
";
}
?>
The above example will output something similar to:
Contains a 1.x tag
Contains a 1.1 tag
SEE ALSO
id3_set_tag(3), id3_get_tag(3), id3_remove_tag(3).
PHP Documentation Group ID3_GET_VERSION(3)