Apollo Connecting the World

Diligence and Intelligence

How to check the version of Linux (Fedora, Ubuntu, or other issues)

leave a comment »

If we want to check whether a Linux is a Fedora, or Ubuntu, or SuSE or whatever, in command line, we can simply do like this:

1. go to /etc, search for the file with string “issue” or “release”
$cd /etc
$ls *issue* (ls *release*)

2. read the found file, e.g.:
$more issue
$more lsb-release

 

Note: This method applies in Fedora, Ubuntu. For other systems the blogger has not verified.

 

Written by apollozhao

2011/09/20 at 15:35

Posted in Linux

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: