Visit The New, Modern Unix Linux Community


How to find Linux os series?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to find Linux os series?
# 1  
How to find Linux os series?

hai
how to find linux os series
# 2  
Your question makes no sense. Try to restate it in depth.
# 3  
If by "os series" you mean the name of a particular linux distribution, there is no easy way of definitively doing it. You have to write a shell script that checks for and parses various files in /etc to try and determine the name of the distribution.
# 4  
The current version is registered in /etc/redhat-release.

---------- Post updated at 10:20 AM ---------- Previous update was at 10:17 AM ----------

I just saw this was a double post. Please be considerate of our time when asking questions.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #685
Difficulty: Medium
Reverse Polish notation (RPN), also known as Polish programming notation.
True or False?

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Linux find help

I am trying to find "php.ini". So I do the command: find / "php.ini" 2>/dev/null It is giving me thousands of files that do not contain "php.ini". What am I doing wrong? (4 Replies)
Discussion started by: cokedude
4 Replies

2. Red Hat

Find the series

Hai what command is used to find red hat linux 5 series? (2 Replies)
Discussion started by: vinayd
2 Replies

3. UNIX for Dummies Questions & Answers

To find missing numbers from a number series

Hi, My requirement is I have an input file with a continuous series from 10000 to 99999. I have some numbers missing from those series. I want a output file which produces those missing numbers. Eg: 10002, 99999 are missing from the series then the output file should contain those... (4 Replies)
Discussion started by: rakeshbharadwaj
4 Replies

4. Homework & Coursework Questions

Help with shell script to find sum of first n numbers of Fibonacci series

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Shell script to find sum of first n numbers of Fibonacci series 2. Relevant commands, code, scripts,... (0 Replies)
Discussion started by: Kshitija
0 Replies

5. UNIX for Dummies Questions & Answers

How to find the help in Linux

The command 'man' can display the usage of command, is there any other command that can show the help in Linux? Thk a lot (3 Replies)
Discussion started by: zp523444
3 Replies

Featured Tech Videos