Results 1 to 10 of 10
I am so new to Linux I haven't been born.
A friend is helping me via email and I was told to enter the command uname -r into the terminal ...
- 06-21-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
kernal command uname -r not working
I am so new to Linux I haven't been born.
A friend is helping me via email and I was told to enter the command uname -r into the terminal page to find out what version the lap top is running. I have typed uname every possible combination, and I only get "command not found". Any ideas to help me help him?
Thanks,
PattLast edited by Patth9; 06-21-2008 at 02:04 PM. Reason: typo
- 06-21-2008 #2
- 06-21-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
No, tried cat /proc/version and cat/proc/version, still the message "no such file or directory"
Patt
- 06-21-2008 #4
Weird indeed, uname utility is missing, /proc is apparently not mounted.
Try:This should at least give us the kernel name.Code:ls /boot
- 06-22-2008 #5Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
I wish. Still the same, no such file or directory. I tried 1s /boot even 1s/boot, but to no avail.
Patt
- 06-22-2008 #6
- 06-22-2008 #7Just Joined!
- Join Date
- Jun 2008
- Posts
- 34
uname
uname is normally located in /bin. So please do a "ls -l /bin/uname" and post the result.
If it's found, please do "echo $PATH" and post the result.
If it's not found, please do "rpm -qa | grep coreutils" and post the result.
Thanks.
- 06-22-2008 #8Just Joined!
- Join Date
- Jun 2008
- Posts
- 34
You may also try "dmesg | grep version". If the message buffer is not wrapped, you will get a line similar to the following containing your linux kernel info.:
Linux version 2.6.22.5-31-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2007/09/21 22:29:00 UTC
-Steve
- 06-22-2008 #9Just Joined!
- Join Date
- Jun 2008
- Posts
- 4
Well, it helps typing in the correct message. This is what came up. I'm pasting it in hopes this is actually what my friend is looking for. I didn't do the other tasks Steve Yau suggested, will see if what I have is enough.
Just want you thank you, Segfault, for you patients and help. Will repost if this is what I needed.
Patt
config@ kernel.h@
System.map-2.6.22.15.tex3
config-2.6.22.15.tex3 kernel.h-2.6.22.15.tex3 us.klt
grub/ memtest-2.01.bin vmlinuz@
initrd-2.6.22.15.tex3.img message-graphic vmlinuz-2.6.22.15.tex3
initrd.img@ System.map@
[bob@localhost ~]$
- 06-22-2008 #10
PCLinuxOS
Steve's "dmesg | grep version" was a good advice, too.


Reply With Quote
