![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find and replace command in one line using one command | vasikaran | UNIX for Dummies Questions & Answers | 10 | 1 Week Ago 07:40 AM |
| Getting Command line on HP-UX | rucha_mahajan | HP-UX | 2 | 05-12-2008 01:06 AM |
| how to? launch command with string of command line options | TinCanFury | Shell Programming and Scripting | 5 | 04-28-2008 03:06 PM |
| Add line command | felixwhoals | UNIX for Dummies Questions & Answers | 3 | 12-16-2007 08:12 PM |
| How do I get ssh to run a command in one line? | LordJezo | Shell Programming and Scripting | 2 | 07-01-2004 08:54 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
how to tell which OS via command line
What is the command line to find out what OS you are running on linux?
I initially thought uname -a would do it, but it only lists kernel version.. can someone tell me? thanks in advance. |
| Forum Sponsor | ||
|
|
|
||||
|
"uname -a" is the right command, but it is not too helpful in determining which Linux Distro you have. It should at least inform you that you are running Linux and not HP-UX, FreeBSD, SunOS, etc.
As for which distro, Linux does not yet have a great way to do this, but it is moving towards a way. See: http://linuxmafia.com/faq/Admin/release-files.html for a good write-up on the current state of affairs. |