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
SU(1)							    BSD General Commands Manual 						     SU(1)

NAME
su -- substitute user identity SYNOPSIS
su [-flm] [login] [-c shell arguments] DESCRIPTION
su requests the password for login and switches to that user and group ID after obtaining proper authentication. A shell is then executed, and any additional shell arguments after the login name are passed to the shell. If su is executed by root, no password is requested and a shell with the appropriate user ID is executed. The options are as follows: -c Invoke the following command in a subshell as the specified user. -f If the invoked shell is csh(1), this option prevents it from reading the ``.cshrc'' file. -l Simulate a full login. The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. USER is set to the target login. PATH is set to ``/bin:/usr/bin''. TERM is imported from your current environment. The invoked shell is the target login's, and su will change directory to the target login's home directory. This option is identical to just passing "-", as in "su -". -m Leave the environment unmodified. The invoked shell is your login shell, and no directory changes are made. As a security precau- tion, if the target user's shell is a non-standard shell (as defined by getusershell(3)) and the caller's real uid is non-zero, su will fail. The -l and -m options are mutually exclusive; the last one specified overrides any previous ones. Only users in group ``wheel'' (normally gid 0) or group ``admin'' (normally gid 20) can su to ``root''. By default (unless the prompt is reset by a startup file) the super-user prompt is set to ``#'' to remind one of its awesome power. SEE ALSO
csh(1), login(1), sh(1), skey(1), kinit(1), kerberos(1), passwd(5), group(5), environ(7) ENVIRONMENT
Environment variables used by su : HOME Default home directory of real user ID unless modified as specified above. PATH Default search path of real user ID unless modified as specified above. TERM Provides terminal type which may be retained for the substituted user ID. USER The user ID is always the effective ID (the target user ID) after an su unless the user ID is 0 (root). HISTORY
A su command appeared in Version 7 AT&T UNIX. BSD
April 18, 1994 BSD
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy