05-31-2003
what version am I using?
Hi
Im new here and pretty new to Unix.
Just a couple of questions
How can I tell what version of Unix I'm running?
and
Also I hope this makes sence, when writting scripts/programmes does it matter what Im writting it in? ie what shell? Or is it just identical whatever shell Im writting in?
Hope that makes sence, sorry Im a REAL nubee
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ,
what is the command to find the version of OS running on a unix box?
Thanks. (4 Replies)
Discussion started by: tselvanin
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I would like to know, how do I findout what version UNIx OS my computer is using? Is there a particular command I type to do this? Please advise.
Thanks (1 Reply)
Discussion started by: huhuloa
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to figure out the exact version of the AIX box I'm on. Like whether it's 5.1 or 5.2. I tried lsconf and smit but they didn't give the answer. Does anyone know a command that returns this value? I don't have root access. (3 Replies)
Discussion started by: rein
3 Replies
4. HP-UX
Hi,
This is my HP-UX version,
hpprod::root>uname -a
HP-UX hpprod B.11.11 U 9000/800 1110164401 unlimited-user license
hpprod::root>
but I've already patch with,
PHSS_30101 1.0 Support Tool Manager Dec 2003
PHSS_30170 B.11.11.18 ... (1 Reply)
Discussion started by: aldosfox
1 Replies
5. Solaris
i have a program writing in PRO C which currently running in unix version 8 tie with oracle 8i, but in the future company gonna migrate this OS to version 9.
Anything i have to prepare for my PRO C program to run in unix version 9? or anything would that impact my program couldn't run well?
what... (2 Replies)
Discussion started by: lsy
2 Replies
6. Shell Programming and Scripting
How to know the whether the system in IBM-AIX, or HP-UX or Sun Solaris?
I have typed command "version" at the prompt and i got
machine hardware: sun4us
OS version:5.9
and more....
So is my system Sun Solaris
Please let me know how can i find the OS (2 Replies)
Discussion started by: vasuarjula
2 Replies
7. UNIX for Advanced & Expert Users
Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1
a. Debian Squeeze (HP DL360). Need to use java version6
On Debian, I did apt-get install sun-java6-jdk. So when I check it's
java version "1.6.0_22"
Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies
8. Shell Programming and Scripting
How to copy a file from directroy/ prior version to the directory/ new version automatically. (4 Replies)
Discussion started by: roy1912
4 Replies
9. Red Hat
Guys,
How to find OS version and firmware version in LINUX?
Like in AIX.
uname -a will show me the version 5.3, 6.1,7.1.
lsmcode -c will show me - system firmware image as SF240_417.
What are the similar commands in Linux.
I checked uname -a and cat /etc/release.
uname... (1 Reply)
Discussion started by: ElizabethPJ
1 Replies
LEARN ABOUT DEBIAN
mbkfopen
MBKFOPEN(3) MBK UTILITY FUNCTIONS MBKFOPEN(3)
NAME
mbkfopen - open a file with several search pathes
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
FILE *mbkfopen(name, extension, mode)
char *name, *extension, *mode;
PARAMETERS
name Name of the file to be opened
extension Extension to the file name
model File opening mode
DESCRIPTION
mbkfopen opens a file, searching it through the pathes given in the environment variables MBK_CATA_LIB(1) and MBK_WORK_LIB(1). Its main
issue is to enable simple file access for any program that works with mbk path environment variables.
The file to be opened is called name.extension, if extension is not NULL, else it is name. If extension is the empty string, "", then the
file name will be name. .
The legal values for mode are
READ_TEXT opens for reading
WRITE_TEXT discards and opens for writting
since disk access should be a straight forward operation knowing mbk's needs.
The search algorithm depends on the value of mode. If mode is WRITE_TEXT, then the file is open for writting in MBK_WORK_LIB(1). If mode
is READ_TEXT then the file is first searched through MBK_WORK_LIB(1), and if not found, through each directory specified in
MBK_CATA_LIB(1), in the order of declaration under unix. No internal hash table is generated, in order to let the user choose its direc-
tory priority. As soon as the file is found, it is opened. There is no check for redundant files in the specified pathes, since it is
neither illegal nor bad to have many files with the same names.
RETURN VALUE
mbkfopen returns a pointer to the opened file. If the file read or write access are violated, or the file not found, a NULL pointer is
returned.
ERROR
"*** mbk error *** mbkfopen : unknown file opening mode mode"
The mode parameter is not one of the two legal values.
EXAMPLE
#include "mut.h"
#include "mph.h"
phfig_list *load_vti_ph(name)
char *name;
{
FILE *file;
if ((file = mbkfopen(name, "cp", READ_TEXT)) == NULL) {
(void)fprintf(stderr, "Pfhhh, can't open name.cp
");
EXIT();
}
ph_parse(file);
}
SEE ALSO
mbk(1), MBK_CATA_LIB(1), MBK_WORK_LIB(1), loadlofig(3), loadphfig(3), savelofig(3), savephfig(3), fopen(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 MBKFOPEN(3)