[CentOS-devel] /etc/redhat-release

Les Mikesell

lesmikesell at gmail.com
Tue Jun 10 15:58:38 UTC 2014


On Tue, Jun 10, 2014 at 10:54 AM, Karanbir Singh <mail-lists at karan.org> wrote:
> On 06/10/2014 04:54 PM, Les Mikesell wrote:
>> On Tue, Jun 10, 2014 at 10:28 AM, Daniel Ankers <md1clv at md1clv.com> wrote:
>>>
>>> Hi Fred,
>>> I would have thought that "lsb_release -a" would be far more portable across
>>> varying different distributions and versions.
>>
>> # lsb_release -a
>> -bash: lsb_release: command not found
>>
>> Unmm????
>>
>
> things usually work best once you install them :)

Yes, but executing things that aren't installed by default probably
isn't good choice as a portable operation to determine your
environment.

-- 
    Les Mikesell
       lesmikesell at gmail.com



More information about the CentOS-devel mailing list