10-08-2008
Do you need to know the installation date, or the OS version release date, as in 3/05, 11/06, 8/07, etc? There's no command that will tell you for example "the OS was installed on Tuesday Sept 4th 2005" unless someone puts some sort of "stamp" somewhere after building the server. You may be able to deduct it by checking creation times on some files and commands like last or uptime, but not a sure science.
As for the OS version release date, just cat /etc/release .
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
How to find a date which is 7 days from the current date as well as how to find a date which is 7 days before this current date.
Urgently i need help.
Thanks in Advance
Regards
Arunava (2 Replies)
Discussion started by: arunava_maity
2 Replies
2. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
3. UNIX for Dummies Questions & Answers
Can someone tell me how to get the installation date of a patch? I've done a showrev which I assume tells me if the patch cluster has been installed. It shows...SunOS 5.8 Generic 108528-23 June 2003. I'm assuming June 2003 is the patch release date. Is that right? How can I determine the... (1 Reply)
Discussion started by: kiloflash
1 Replies
4. UNIX for Advanced & Expert Users
Hi ,
I have written a shell script that takes the current date on the server and stores it in a file.
echo get /usr/home/data-`date '+%Y%d'`.xml> /usr/local/sandeep/GetFILE.ini
I call this GetFILE.ini file from an sftp program to fetch a file from /usr/home/ as location. The file is in... (3 Replies)
Discussion started by: bsandeep_80
3 Replies
5. Shell Programming and Scripting
hii all.
I have to get the date of the 7th day past from the current date.
if i give the current date as sep 3 then i must get the date as 27th of august.
can we get the values from the "cal" command.
cal | awk '{print $2}' will this type of command work.
actually my need is
if today is... (17 Replies)
Discussion started by: ladtony
17 Replies
6. Solaris
Hello Forum!
I need to install Solaris 2.6, but it seems difficult to find that old version...any ideas where to find / buy the installation cd's?
Best regards,
/roinepe (2 Replies)
Discussion started by: roinepe
2 Replies
7. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
8. Shell Programming and Scripting
Hi all,
Need an urgent help on the below scenario.
script:
awk -F","
'BEGIN { #some variable assignment}
{ #some calculation and put values in array}
END {
year=#getting it from array and assume this will be 2014
month=#getting it from array and this will be 05
date=#... (7 Replies)
Discussion started by: vijaidhas
7 Replies
9. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
LEARN ABOUT OPENSOLARIS
openssl_version_number
OPENSSL_VERSION_NUMBER(3openssl) OpenSSL OPENSSL_VERSION_NUMBER(3openssl)
NAME
OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version - get OpenSSL version number
SYNOPSIS
#include <openssl/opensslv.h>
#define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
#include <openssl/crypto.h>
long SSLeay(void);
const char *SSLeay_version(int t);
DESCRIPTION
OPENSSL_VERSION_NUMBER is a numeric release version identifier:
MMNNFFPPS: major minor fix patch status
The status nibble has one of the values 0 for development, 1 to e for betas 1 to 14, and f for release.
for example
0x000906000 == 0.9.6 dev
0x000906023 == 0.9.6b beta 3
0x00090605f == 0.9.6e release
Versions prior to 0.9.3 have identifiers < 0x0930. Versions between 0.9.3 and 0.9.5 had a version identifier with this interpretation:
MMNNFFRBB major minor fix final beta/patch
for example
0x000904100 == 0.9.4 release
0x000905000 == 0.9.5 dev
Version 0.9.5a had an interim interpretation that is like the current one, except the patch level got the highest bit set, to keep continu-
ity. The number was therefore 0x0090581f.
For backward compatibility, SSLEAY_VERSION_NUMBER is also defined.
SSLeay() returns this number. The return value can be compared to the macro to make sure that the correct version of the library has been
loaded, especially when using DLLs on Windows systems.
SSLeay_version() returns different strings depending on t:
SSLEAY_VERSION
The text variant of the version number and the release date. For example, "OpenSSL 0.9.5a 1 Apr 2000".
SSLEAY_CFLAGS
The compiler flags set for the compilation process in the form "compiler: ..." if available or "compiler: information not available"
otherwise.
SSLEAY_BUILT_ON
The date of the build process in the form "built on: ..." if available or "built on: date not available" otherwise.
SSLEAY_PLATFORM
The "Configure" target of the library build in the form "platform: ..." if available or "platform: information not available" other-
wise.
SSLEAY_DIR
The "OPENSSLDIR" setting of the library build in the form "OPENSSLDIR: "..."" if available or "OPENSSLDIR: N/A" otherwise.
For an unknown t, the text "not available" is returned.
RETURN VALUE
The version number.
SEE ALSO
crypto(3)
HISTORY
SSLeay() and SSLEAY_VERSION_NUMBER are available in all versions of SSLeay and OpenSSL. OPENSSL_VERSION_NUMBER is available in all ver-
sions of OpenSSL. SSLEAY_DIR was added in OpenSSL 0.9.7.
OpenSSL-0.9.8 Oct 11 2005 OPENSSL_VERSION_NUMBER(3openssl)