LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command (https://www.linuxquestions.org/questions/linux-newbie-8/command-228456/)

shadowsurfer 09-09-2004 01:10 AM

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 ..

ppuru 09-09-2004 02:02 AM

you can cat /etc/issue
you can use uname -a

Tinkster 09-09-2004 02:16 AM

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

Ciccio 09-09-2004 03:57 AM

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.

Tinkster 09-09-2004 12:43 PM

Which is what "uname -a" will give you :) with
a little less typing.


Cheers,
Tink

Ciccio 09-09-2004 02:31 PM

I just type ca /p/v and TAB the rest... so it's quiet the same...

shadowsurfer 09-09-2004 06:58 PM

well guy tnx for the help .. i got all the possible answer ..

Bruce Hill 09-09-2004 07:05 PM

Quote:

Originally posted by Ciccio
I just type ca /p/v and TAB the rest... so it's quiet the same...
mingdao@paul:~$ ca /p/v
-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...

Ciccio 09-09-2004 09:17 PM

you seem to have forgotten to TAB. you shoild look into autocompletition.... :-)

Bruce Hill 09-09-2004 09:31 PM

Quote:

Originally posted by Ciccio
you seem to have forgotten to TAB. you shoild look into autocompletition.... :-)
Nope - used the tab key, which only issues a system beep...

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

;-)

Ciccio 09-10-2004 02:05 PM

actually you should do:

$ca[TAB]/p[TAB]/v[TAB]

It's called autocmpletition.

Bruce Hill 09-10-2004 06:10 PM

Quote:

Originally posted by Ciccio
actually you should do:

$ca[TAB]/p[TAB]/v[TAB]

It's called autocmpletition.

mingdao@paul:~$ ca/p/v
-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...

Ciccio 09-11-2004 02:33 AM

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.

Ciccio 09-11-2004 02:34 AM

anyway... if you don't like my answer you can uname -a or do any of the other things they posted on this thread.

Bruce Hill 09-11-2004 02:36 AM

Quote:

Originally posted by Ciccio
oh, yeah, and just so you know... I write for TLDP-ES.
figures


All times are GMT -5. The time now is 12:34 AM.