| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

LinuxDistribution

Page history last edited by David B 11 years, 8 months ago

Here's a quick way for finding out which Linux distribution you have. Probably won't catch everything, but it should find a lot of the major ones.

 

# ls -d /etc/*version* /etc/*release*
ls: /etc/*version*: No such file or directory
/etc/lsb-release.d  /etc/redhat-release  /etc/redhat-release-

As you can see, this example finds a Redhat distro

 

-Attribution

Comments (0)

You don't have permission to comment on this page.