LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2004, 02:10 AM   #1
shadowsurfer
Member
 
Registered: Aug 2004
Location: philippines
Posts: 51

Rep: Reputation: 15
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 ..
 
Old 09-09-2004, 03:02 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
you can cat /etc/issue
you can use uname -a
 
Old 09-09-2004, 03:16 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 09-09-2004, 04:57 AM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
Old 09-09-2004, 01:43 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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


Cheers,
Tink
 
Old 09-09-2004, 03:31 PM   #6
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
I just type ca /p/v and TAB the rest... so it's quiet the same...
 
Old 09-09-2004, 07:58 PM   #7
shadowsurfer
Member
 
Registered: Aug 2004
Location: philippines
Posts: 51

Original Poster
Rep: Reputation: 15
well guy tnx for the help .. i got all the possible answer ..
 
Old 09-09-2004, 08:05 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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...
 
Old 09-09-2004, 10:17 PM   #9
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
you seem to have forgotten to TAB. you shoild look into autocompletition.... :-)
 
Old 09-09-2004, 10:31 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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

;-)
 
Old 09-10-2004, 03:05 PM   #11
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
actually you should do:

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

It's called autocmpletition.
 
Old 09-10-2004, 07:10 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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...

Last edited by Bruce Hill; 09-10-2004 at 07:14 PM.
 
Old 09-11-2004, 03:33 AM   #13
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
Old 09-11-2004, 03:34 AM   #14
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
anyway... if you don't like my answer you can uname -a or do any of the other things they posted on this thread.
 
Old 09-11-2004, 03:36 AM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 01:24 AM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration