Link to home
Start Free TrialLog in
Avatar of walkerdba
walkerdba

asked on

linux

why this is like this?

[oracle@term1 ~]$ uname
Linux
[oracle@term1 ~]$ oslevel -s
bash: oslevel: command not found
[oracle@term1 ~]$
Avatar of ozo
ozo
Flag of United States of America image

because if no options are specified, uname prints the operating system name
and because there is no executable command named oslevel in your PATH
What is the exact question? is it the first command or the 2nd?

oslevel is not linux command
oslevel is AIX, uname is your average *nix, welcome to our wurlde, not all *nix are the same!
Avatar of Pepe2323
Pepe2323

What information you are trying to  find ?

uname -a will show you the kernetl version

If you need to find the linux type and the version some of them has the information on

/etc and depends of the type of linux is the name of the file

for RHEL is redhat-release
for SLES is cat /etc/SuSE-release

i hope this helps you
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of walkerdba

ASKER

got it is a command used for AIX