motd command

Purpose

Displays or modifies the partition's message of the day file.

Syntax

motd [-append | -overwrite ] -file Filename

motd [-append | -overwrite ] "Message of the day string"

Description

The motd command writes or appends to the partitions message of the day file. The new message can be specified on the command line or in a file with the -file flag. If no flags are specified the current message of the day is displayed.

Flags

Flag name Description
-append Appends the specified message to the current message of the day
-file FileName Replaces the current message of the day with the contents of FileName
-overwrite Replaces the current message of the day with the specified message



Last updated: Wed, November 18, 2020