Sponsored Content
Full Discussion: UNIX Version
Top Forums UNIX for Dummies Questions & Answers UNIX Version Post 57549 by zazzybob on Monday 1st of November 2004 04:25:47 PM
Old 11-01-2004
uname -a will show you this information plus a fair bit more.

man uname

The "which" command shows you which executable will be executed when you enter the command into your shell.

For example, "which ls" could give /bin/ls - showing you that when you enter "ls" at your prompt, /bin/ls is executed. "which" only searches directories specified in your PATH environment variable.

Also, be aware that UNIX is case sensitive!

Cheers
ZB
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I find Unix Version

I am extremely new here. Someone wants to upgrade off of Unix to Windows 2000 and wants to know if they need to buy new hardware How do I find out what type of Unix they're using? How do I find out the current hardware of the system? (Intel, ..etc) Thanks (3 Replies)
Discussion started by: tomsha
3 Replies

2. UNIX for Dummies Questions & Answers

Which unix version...

I pulled out my old 386 from the garage and dusted it off, and now i want to install unix on it. The 386 however only has a 104mb HD, and has NO cd rom support. Which if any version of unix would best suite this box? Is installing with floppies my only option? (8 Replies)
Discussion started by: nefarious
8 Replies

3. Where do I download LINUX & UNIX?

What version of Unix do you use most often?

Just curious... (1 Reply)
Discussion started by: PxT
1 Replies

4. UNIX for Dummies Questions & Answers

Unix Version of old?!

Hullo Unix fans. Hoping one of you might be able to give me an indication here... 7 years ago, I was responsible for managing a windows 95 network with a unix server. Problem is I'll be buggered if I can recall what version of unix it was. Can anyone tell me what the standard version of the time... (2 Replies)
Discussion started by: k-lye
2 Replies

5. UNIX for Advanced & Expert Users

upgrade unix version

I use HP UNIX 11 now , as I know , the latest version is 11iv2 , ( correct me if i am wrong ) , I hv read the feature of this version , it is 15% performance improved and more secure , if it is truth , I want to upgarde it by myself , but i am too familiar with the OS upgarde , could suggest the... (2 Replies)
Discussion started by: ust
2 Replies

6. UNIX for Dummies Questions & Answers

Determine Unix Version

Is there a trick to determine the exact version from Unix that one is working with? I would have expected to see it after logon, but all I get are some Copyright-messages... I know it's some HP-UX, but I would like to know the version-number Tnx in advance! Dave (2 Replies)
Discussion started by: davegeysemans
2 Replies

7. UNIX for Dummies Questions & Answers

Unix version?

Hi, I am thinking of buying a computer to learn UNIX. I am familiar with windows but not UNIX. Can someone tell me which version of UNIX should I get installed in my new PC? And how do I start learning UNIX? (4 Replies)
Discussion started by: hana
4 Replies

8. UNIX for Dummies Questions & Answers

Which version of UNIX I'm using?

Hello- I know it's UNIX-HP, but I don't know what version. Is there a command that tells me what version I'm running or a file that I need to open to get this information? Thanks, Nomaad (1 Reply)
Discussion started by: Nomaad
1 Replies

9. UNIX for Dummies Questions & Answers

about UNIX? original version?

sorry for my English We'll report about Unix in my school, for Operating Systems subject... with Installation demo.... I'm wondering if System V, which is from original developers AT&T still exist and downloadable? because I cant find it anywhere... then i found out that Solaris, MacOS... (4 Replies)
Discussion started by: slowchem
4 Replies

10. Solaris

Migrate unix version 8 to version 9

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
GET_END(3)						     Library Functions Manual							GET_END(3)

NAME
get_end, get_etext, get_edata - get values of UNIX link editor defined symbols SYNOPSIS
#include <mach-o/getsect.h> unsigned long get_end(); unsigned long get_etext(); unsigned long get_edata(); DESCRIPTION
These routines provide a stopgap measure to programs that use the UNIX link-editor defined symbols. Use of these routines is very strongly discouraged. The problem is that any program that is using UNIX link editor defined symbols (_end, _etext or _edata) is making assumptions that the program has the memory layout of a UNIX program. This is an incorrect assumption for a program built by the Mach-O link editor. The reason that these routines are provided is that if very minimal assumptions about the layout are used and the default format and memory layout of the Mach-O link editor is used to build the pro- gram, some things may work by using the values returned by these routines in place of the addresses of their UNIX link-editor defined sym- bols. So use at your own risk, and only if you know what your doing. Or better yet, convert the program to use the appropriate Mach or Mach-O functions. If you are trying to allocate memory use vm_allocate(2), if you are trying to find out about your address space use vm_region(2) and if you are trying to find out where your program is loaded use the dyld(3) functions. The values of the UNIX link-editor defined symbols _etext, _edata and _end are returned by the routines get_etext, get_edata, and get_end respectively. In a Mach-O file they have the following values: get_etext returns the first address after the (__TEXT,__text) section, note this my or may not be the only section in the __TEXT segment. get_edata returns the first address after the (__DATA,__data) section, note this my or may not be the last non-zero fill section in the __DATA segment. get_end returns the first address after the last segment in the executable, note a shared library may be loaded at this address. SEE ALSO
ld(1), dyld(3) Apple Computer, Inc. April 10, 1998 GET_END(3)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy