1

I've encountered an /etc/rc.local script that gets some data and uses printf on it.

My question is: where does that data that is printed go when rc.local is executed on startup? Is there a log file or something I can look in to get it?

Robin
  • 347

1 Answers1

1

Unless you redirect the output, it will be printed on the screen during the boot process. The boot messages are supressed / hidden and go by fast.

Remove the boot options quiet and splash to see the messages.

See How can I show or hide boot messages when Ubuntu starts? for details.

They should be in the logs, ( /var/log/messages ) and/or in dmesg

Panther
  • 104,528