Solved

linux

Posted on 2013-05-14
6
405 Views
1 Endorsement
Last Modified: 2013-05-15
why this is like this?

[oracle@term1 ~]$ uname
Linux
[oracle@term1 ~]$ oslevel -s
bash: oslevel: command not found
[oracle@term1 ~]$
1
Comment
Question by:walkerdba
6 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 39167176
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
 
LVL 40

Expert Comment

by:omarfarid
ID: 39167180
What is the exact question? is it the first command or the 2nd?

oslevel is not linux command
0
 
LVL 19

Expert Comment

by:jools
ID: 39167690
oslevel is AIX, uname is your average *nix, welcome to our wurlde, not all *nix are the same!
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 8

Expert Comment

by:Pepe2323
ID: 39168049
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
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 500 total points
ID: 39168194
"oslevel -s" is showing the running AIX version, the Linux alternative to it would be "uname -r" (or "uname -a")
0
 

Author Closing Comment

by:walkerdba
ID: 39170065
got it is a command used for AIX
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question