Solved

linux

Posted on 2013-05-14
6
398 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now