Solved

linux

Posted on 2013-05-14
6
409 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
winscp 000webhost.com 6 98
number in printf 13 42
python - find anything after $ question. 9 47
Unix Help with:  mailx -s 17 58
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

756 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