command
im new to linux .. and im using rh9 as my o.s. , im wondering if im using the command line what command shall i type to know the version of my redhat. or how can i verify that im using redhat9
tnx .. |
you can cat /etc/issue
you can use uname -a |
Many distros have a file with version
in the name in /etc, eg. /etc/redhat-version ... if you cat that you'll know what you have :) /etc/issue commonly only contains a greeting of sorts ... Cheers, Tink |
cat /proc/version is the one I use... It gives quiet a lot of info... gcc version, kernel version and sometimes it gives the distro name and version.
|
Which is what "uname -a" will give you :) with
a little less typing. Cheers, Tink |
I just type ca /p/v and TAB the rest... so it's quiet the same...
|
well guy tnx for the help .. i got all the possible answer ..
|
Quote:
-bash: ca: command not found mingdao@paul:~$ su Password: root@paul:/home/mingdao# ca /p/v bash: ca: command not found Not quite (not the same as quiet, silent) the same on this box... |
you seem to have forgotten to TAB. you shoild look into autocompletition.... :-)
|
Quote:
Perhaps "ca" is not something which can be run without configuring? On the other hand... mingdao@paul:~$ uname -a Linux paul 2.4.26 #2 Sat Sep 4 21:43:00 CST 2004 i686 unknown unknown GNU/Linux mingdao@paul:~$ cat /etc/slackware-version Slackware 10.0.0 ;-) |
actually you should do:
$ca[TAB]/p[TAB]/v[TAB] It's called autocmpletition. |
Quote:
-bash: ca/p/v: No such file or directory mingdao@paul:~$ su Password: root@paul:/home/mingdao# ca/p/v bash: ca/p/v: No such file or directory Your instructions are all wrong - you must write documentation for open source software. ;-) It should be: $ca [space] /p [tab] v [tab] which on a Slack box returns mingdao@paul:~$ ca /proc/version -bash: ca: command not found Why don't you just give up and install Slackware and see for yourself? And buy a dictionary - it's auto completion... |
I am here to help, not to get insulted. Since you are obviously a newbie I will overlook the offense. btw, ca is nothing, the actual command is cat. with TAB you can auto complete.
Oh, and just for you to know... My mother-tonge is spanish, not engles... And I speak three other languages... so If I get confused with one word is not to kill me. Besides... I don't need to buy a dictionary... I can find out everything I want to know on the internet... you see... I CAN use google. If you want to have a discussion about wich distro is better... I suggest you try to solve the 7 unsolvable mathematical problems... that will be easyer to do than to settle with a 'better' distro. I can get from mandrake all that I need... so Mandrake is the best distro for me. You should learn to tolerate other people... oh, yeah, and just so you know... I write for TLDP-ES. |
anyway... if you don't like my answer you can uname -a or do any of the other things they posted on this thread.
|
Quote:
|
All times are GMT -5. The time now is 12:34 AM. |