Bootup command history?

Bootup command history?

Post by Geoffrey Anderso » Tue, 28 Feb 1995 04:14:33



How do I keep a log of the messages that appeared on screen during bootup? They fly by too
fast to read in real-time.  I suspect some kind of file I/O redirection is called for.
Regards,
ga
 
 
 

Bootup command history?

Post by Shawn D. McPe » Tue, 28 Feb 1995 06:37:14


: How do I keep a log of the messages that appeared on screen during bootup?
: They fly by too fast to read in real-time.  I suspect some kind of file
: I/O redirection is called for.
: Regards,
: ga

They should be written to /var/adm/messages, also look at the dmesg
command.

Shawn

 
 
 

Bootup command history?

Post by Derric Sco » Thu, 02 Mar 1995 06:18:51




Quote:>How do I keep a log of the messages that appeared on screen during bootup? They fly by too
>fast to read in real-time.  I suspect some kind of file I/O redirection is called for.

It is probably already kept.  Take a look in /var/adm/messages.  For example
I usually do:
        grep "Feb 27" /var/adm/messages | grep kernel | more

later!

dts

--
Derric Scott                     Scott Network Services, Inc.

 
 
 

Bootup command history?

Post by Andrew Ro » Thu, 09 Mar 1995 22:09:16




Quote:>How do I keep a log of the messages that appeared on screen during bootup?
>They fly by too fast to read in real-time.  I suspect some kind of file
>I/O redirection is called for. Regards,
>ga

Try dmesg from the shell prompt. It will give you the bootup messages!

Andrew

-----------------------------------------------------------------------------

   Churchill College    Tel (01223) 331561
   Cambridge            http://www.chu.cam.ac.uk/home/ANR1001/home.htm      

-----------------------------------------------------------------------------

 
 
 

1. Date stamping commands in the shell command history file

Hi All,

I need to date stamp commands in the history file as the subject says.

I am using the Korn shell with the default history file (.sh_history and
size of 128.

I have tried things like PS1='$(date>>$HOME/.sh_history)\$' in the
profile.  This works when you log in but doesn't work after that.

How can I get it to work every time the prompt is displayed??

I presume that I'm on the right track trying to modify the primary prompt.
I know that I could do an alias for each command and script for the 30 - 40
that we commonly use but that wouldn't cover all commands.

Any help is much appreciated.

TIA
Craig

2. SuSE 6.1 and Dell Dual P3 workstation

3. ksh: 2 Q's, command completion & command history?

4. get rid of control char in text file

5. rememeber history of tcshell command line commands after reboot

6. free security scan / firewall

7. source code for the history mechanism that is provided by the csh command shell

8. XF 3.2 with s3-968 (dashed lines...)

9. Keep log of history commands

10. history command matching with tcsh

11. no command history with ksh as root?

12. Command Line/History Editor??

13. tcsh - command history between shells