LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How can I now .... (https://www.linuxquestions.org/questions/linux-general-1/how-can-i-now-50611/)

juanb 03-19-2003 04:10 AM

How can I now ....
 
Hi !!

How can I know in which init level I am amd what is the Red hat version (from
KDE ) or from the console.

thanks

acid_kewpie 03-19-2003 05:31 AM

i *think* that there is always an environmental variable called RUNLEVEL, so try "echo $RUNLEVEL" and it should work.

bulliver 03-19-2003 01:19 PM

As for which version, there is a file in /etc called 'redhat-release', so you can just cat it or whatever...

Crashed_Again 03-19-2003 01:32 PM

You can check your /etc/inittab file:

cat /etc/inittab | grep id

onurb 03-19-2003 02:08 PM

cat /proc/version


All times are GMT -5. The time now is 08:35 AM.