Command which linux distro




















This includes the distro name and version. Note that the lsb specific command and files are not present on CentOS by default. The redhat-lsb-core packages have to be installed to make lsb available. As can be seen above, the version information about the distro is not very clear, although it might be possible to deduce the distro in use. The uname command can also indicate which linux distro is in use, but gives very little information about it.

All currently shipping Macs ship with OS X and a bit processor. It's possible to boot at bit kernel.

Read all about it here. Open a command prompt and type uname -a. If you see i or i or i or i then your OS is bit. If you see amd64 then you are running a bit OS. If you see i your running a bit OS. Open a command prompt and type isainfo -v. This will show you if your OS is capable of running bit and bit applications. If that does not work you can try typing uname -a. This will show you the version of Solaris your using. All versions after 5. Sun's platforms transitioned to bit over a period of time, which makes identifying the platform for bit compliance tricky.

Open a command prompt and type getconf -a grep KERN. If that does not work try bootinfo -K. If you see mention of bit then the OS is bit capable. Black magic. Just kidding. When you visit a site with your web browser it sends a little nugget of information to that site called a "User Agent".

The user agent has a few minor pieces of information about your browser, platform, and OS version. Using this information a guess can be made about what Operating System your using. Why is it a guess? The user agent your browser sends to the website can be changed very easily. It's not to be trusted in any way, shape, or form as the truth, but most people generally use browsers who's user agents have not been changed. Why is it only generally? Sometimes the people that provide your internet access will modify this user agent so the website can not tell what your browser is or will set the user agent to a general browser type so the site will render the same for everyone.

This is not the norm so don't fret to much. Most browsers do not put the version number of the OS in the user agent string but some do. Apple products are a good example. The browsers that put OS version information in the user agent string are usually the browsers come with the OS or are created compiled by the vendor.

The vendors built-in browser will provide the most information to this site for it to render the most accurate guess. For example Apple's built-in browser Safari provides the full version of the OS in the user agent string, but Firefox on the same Apple computer only provdes a portion of the version number.

First, read the section called "How do you know what my OS is? Now that you know how we go about guessing your OS you might have an idea on why we can't.

The most likely answer is that there might not be enough information in your user agent string to render a good guess or since the user agent is so easily changed yours could have been changed to something that is not normal or is so obscure that a guess could not even be rendered. It's a good chance it's nothing you did so don't worry. Go through the "What's the version of my OS" section above and see if you notice anything mentioned there.

You can install it just like you would do screenfetch. Finally, we are breaking the command-line and going to use the GUI aka mouse to get the information about our Linux babe. Every single Linux distro comes with a utility application by the name Settings and in this application, you will find about section where you can get such details.

So that is it. These are the ways that you now know how to walk through. Enjoy these little informers of your Linux system. You keep enjoying your Linux! Subscribe —



0コメント

  • 1000 / 1000