View previous topic :: View next topic |
Author |
Message |
Fitzsimmons Guru
Joined: 01 Jan 2003 Posts: 415 Location: Waterloo, Ontario, Canada
|
Posted: Thu Jan 02, 2003 11:59 pm Post subject: Where is my kernel log |
|
|
Just a newb question:
Where can I find my kernel log?
Thanks. |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Fri Jan 03, 2003 12:10 am Post subject: Re: Where is my kernel log |
|
|
ssjf wrote: | Where can I find my kernel log? |
have a look at Code: | $ echo /usr/var/share/log | sed 's#/\(usr\|share\)##g' |
|
|
Back to top |
|
|
Fitzsimmons Guru
Joined: 01 Jan 2003 Posts: 415 Location: Waterloo, Ontario, Canada
|
Posted: Fri Jan 03, 2003 12:42 am Post subject: |
|
|
Thanks. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Fri Jan 03, 2003 1:27 am Post subject: Re: Where is my kernel log |
|
|
ssjf wrote: | Just a newb question:
Where can I find my kernel log?
Thanks. |
Hmm, are you talking about the log written by the Linux kernel when you boot the machine?
If so, just type: dmesg
If you are talkning about the system logs, then look in /var/log
There is no directory called /usr/var/share/log on any of my installations so I'm not sure what jukka talks about.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Fri Jan 03, 2003 1:51 am Post subject: Re: Where is my kernel log |
|
|
ebrostig wrote: | There is no directory called /usr/var/share/log on any of my installations so I'm not sure what jukka talks about. |
i guess you didn't notice that my phrase was formatted as a code snipped, and a leading dollar sign was in front of what some strange people call a shell command... ;-)
greetings, jukka
p.s.: similar story: some people just exec a shell, others enjoy executing a president while doing the same: Code: | $ exec "$(echo "george w. bush" | sed 's/^.* \(.\)u/\/\1in\//g')" | ;-)
Last edited by jukka on Fri Jan 03, 2003 2:02 am; edited 1 time in total |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Fri Jan 03, 2003 2:01 am Post subject: |
|
|
I did indeed see that it was a shell command, I just didn't execute it and don't see a point in making it so difficult.
Why put a convoluted command like that when the answer is simple? Beats me. Heard of KISS? And no, I don't mean the band KISS.
I know some people like to be very 1337 but that doesn't really help newbies to understand Linux.
Just my $0.02.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Fri Jan 03, 2003 2:13 am Post subject: |
|
|
Quote: | I know some people like to be very 1337 but that doesn't really help newbies to understand Linux. |
that's correct. but in my opinion, such an tiny 'echo|sed' joke has nothing to do with elitist behaviour, because you can see the results after two seconds. like writing 133t, which doesn't make too much sense either... |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Fri Jan 03, 2003 2:21 am Post subject: |
|
|
jukka wrote: | Quote: | I know some people like to be very 1337 but that doesn't really help newbies to understand Linux. |
that's correct. but in my opinion, such an tiny 'echo|sed' joke has nothing to do with elitist behaviour, because you can see the results after two seconds. like writing 133t, which doesn't make too much sense either... |
Lol, I hear you.
It's just that I prefer to give more exact answers, probably due to my job in support.
Btw, what are you doing up in the middle of the night Go to sleep LOLOL
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
|