linux

why this is like this?

[oracle@term1 ~]$ uname
Linux
[oracle@term1 ~]$ oslevel -s
bash: oslevel: command not found
[oracle@term1 ~]$
walkerdbaAsked:
Who is Participating?
 
Gerwin Jansen, EE MVEConnect With a Mentor Topic Advisor Commented:
"oslevel -s" is showing the running AIX version, the Linux alternative to it would be "uname -r" (or "uname -a")
0
 
ozoCommented:
because if no options are specified, uname prints the operating system name
and because there is no executable command named oslevel in your PATH
0
 
omarfaridCommented:
What is the exact question? is it the first command or the 2nd?

oslevel is not linux command
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
joolsCommented:
oslevel is AIX, uname is your average *nix, welcome to our wurlde, not all *nix are the same!
0
 
Pepe2323Commented:
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
0
 
walkerdbaAuthor Commented:
got it is a command used for AIX
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.