Solved

linux

Posted on 2013-05-14
6
408 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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 38

Accepted Solution

by:
Gerwin Jansen, EE MVE 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 85
Linux server had an unexpected freeze. How to find out cause (sys logs)? 13 47
awk file 6 78
Why  my code (program) build with old compiler? 11 77
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 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