|Skip Navigation Links|
|Exit Print View|
|Managing System Information, Processes, and Performance in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library|
This section describes commands that enable you to change general system information.
$ date mmddHHMM[[cc]yy]
Month, using two digits.
Day of the month, using two digits.
Hour, using two digits and a 24-hour clock.
Minutes, using two digits.
Century, using two digits.
Year, using two digits.
See the date(1) man page for more information.
Example 1-14 Manually Setting a System's Date and Time
# date Monday, September 13. 2010 02:00:16 PM MDT # date 0921173404 Thu Sep 17:34:34 MST 2010
You can edit the message-of-the-day file, /etc/motd, to include announcements or inquiries to all users of a system when they log in. Use this feature sparingly, and edit this file regularly to remove obsolete messages.
$ pfedit /etc/motd
Edit the text to include the message that will be displayed during user login. Include spaces, tabs, and carriage returns.
$ cat /etc/motd Welcome to the UNIX Universe. Have a nice day.
# hostname mynodename