Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

motd.tail(5) [linux man page]

MOTD.TAIL(5)						   Debian Administrator's Manual					      MOTD.TAIL(5)

motd.tail - Template for building the system message of the day DESCRIPTION
On Debian systems, the system message of the day is rebuilt at each startup, in order to display an accurate information. /etc/motd.tail is the file to edit permanent changes to the message of the day. OVERVIEW
The initiation script /etc/init.d/ prepends a line containing information about the system to /etc/motd.tail and stores the resulting file in /var/run/motd. /etc/motd is a symbolic link to /var/run/motd. This is done to prevent changes to /etc as the system can not assume /etc to be writable. Changes to /etc/motd effectively end up in a file under /var/run which will be regenerated upon reboot. A symbolic link to a different file, such as /etc/motd.static disables this behaviour. FILES
/etc/init.d/ The initiation script which builds /var/run/motd /etc/motd Symbolic link to the system message of the day at /var/run/motd /etc/motd.tail Template for building the system message of the day /var/run/motd System message of the day file rebuilt at each computer start SEE ALSO
login(1), issue(5), motd(5). Debian 2007-04-28 MOTD.TAIL(5)

Check Out this Related Man Page

imapd(8)						      System Manager's Manual							  imapd(8)

imapd - Internet Message Access Protocol (IMAP) server process SYNOPSIS
/usr/sbin/imapd DESCRIPTION
The IMAP4rev1 server, imapd, accepts commands on its standard input and responds on its standard output. It is normally invoked by the inetd command and it reads its configuration options out of the imapd.conf file. If you want to take the IMAP server off line for a period of time, you should notify the client systems. To do this, create a msg/shutdown file, edit it, and state the reason for the shut down. Set the owner of the msg directory and the shutdown file to be the imap user. When a client system tries to access the server, imapd sends the first line contained in the shutdown file to the client and closes the connec- tion. If you want to send a message to the IMAP clients without disabling connections, create a msg/motd file, edit it, and add your message. Set the owner of the msg directory and the motd file to be the imap user. The server sends the first line contained in the file to the clients upon connection as an ALERT message, which IMAP-compliant clients are required to display. Access to mailboxes is unaffected. For debugging purposes, create a log/user directory. When this directory exists, the imapd daemon creates protocol telemetry logs for ses- sions authenticating as user. The telemetry logs are stored in the log/user directory with the file name of the imapd process id. The msg/shutdown and msg/motd files and the log/user directory should be created under the directory specified in the configdirectory con- figuration option of the imapd.conf file. The default value is /var/imap, as in /var/imap/msg/motd. FILES
Configuration file for the IMAP server SEE ALSO
Commands: cyradm(1), deliver(8), imapd(8), imapquota(8), inetd(8), reconstruct(8) Files: imapd.conf(4) Network Administration imapd(8)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

MOTD File?

Anyone know how to change the location of the MOTD file from the default /etc/motd? An annoying person with root access has found out how to edit the file and change my MOTDs. Help me. (14 Replies)
Discussion started by: Rex00me
14 Replies

2. Shell Programming and Scripting

Implementing MORE,HEAD & TAIL

hai in my shell script i want to replace the following commands 1) more 2) head 3) tail i want to try all type of possible options avaliabul in the above commands please help in implementing those commands (9 Replies)
Discussion started by: g_s_r_c
9 Replies

3. Shell Programming and Scripting

Bad day !! test condition failed --need a one liner to do --help

Hi all this is simple but bad day for me nothing work out .. Problem is that I wan to check the argument passed to my script and accordignly exit or setup ENV variable I have a script name i want to pass 2 argumet from command line argumet and check it in the script... (13 Replies)
Discussion started by: jambesh
13 Replies

4. Shell Programming and Scripting

script not working after "tail -f"

Hi Everyone , I am facing a strange problem i have made the follwing script to watch a appending log file (abc.log) but its not moving after the line tail -f , any suggestions ===================================== #!/bin/bash while true do tail -f abc.log | grep "exceptions" echo hi... (12 Replies)
Discussion started by: xander
12 Replies

5. Solaris

/var size is increasing day by day

Hi experts, I am facing a big problem. i use solaris 9. i found size of /var is increasing day by. snapshot of a yester moring- /dev/vx/dsk/var 15G 14G 1.1G 94% /var snapshot of a yesterday everning- /dev/vx/dsk/var 15G 14G 824M 95% /var I am... (11 Replies)
Discussion started by: thepurple
11 Replies

6. Shell Programming and Scripting

Filtering line out of file

Hy, I would like to extract lines within following file, 4TX + 4XFUT + 4XBACK + 4Xexp: theo. actual start of day: -2 5 end of day: 5 4 profit: 2 -1 ==================== trade profit: 9 -2... (9 Replies)
Discussion started by: sam786
9 Replies

7. Shell Programming and Scripting

Creating DELTA file in UNIX

I have a fixed length file (854 characters file). Our project will start getting this file soon. On the first day this file will have 100000 records. From the next day the file will have all the records from previous day + some new records (there will be few additions + few changes in day1... (13 Replies)
Discussion started by: varunrbs
13 Replies

8. Red Hat

script for continous ping

Hi, I want to run a script for continuous ping for a day then delete the previous day after checking if there is a gap in between with the other servers connectivity. Output the result in a /tmp file everyday. Mainly i am trying to troubleshoot cacti graph gap i am seeing in certain time in a... (15 Replies)
Discussion started by: amarlinux
15 Replies

9. SuSE

Suse 8 /var Directory

Hi there, I'm working on a Suse 8 based system and picked up that the crontab was missing. after some investigation i realized that the hole /var directory is missing. :mad: I would like to now if its common for this directory to go missing? Can I copy another Suse 8 /var directory to this... (10 Replies)
Discussion started by: malanve
10 Replies

10. UNIX for Dummies Questions & Answers

Script should check and run only on Sunday

Hi All, I have a script, I want to make sure the script should check whether the day is sunday, only then it should run, if it is run other days it should check and exit the script. Kindly help. Thanks in Advance !! (41 Replies)
Discussion started by: nanz143
41 Replies

11. Shell Programming and Scripting

How to end tail -f from the script?

Hi, i have a script tail -f logs| grep item i need to end the script once it finds item in the logs folder, this happens on run time. (10 Replies)
Discussion started by: nikhil jain
10 Replies

12. UNIX for Dummies Questions & Answers

Cp files into a directory

I have been using the Unix tutorial from Berkeley and I am stuck. I cannot figure out how to copy the "motd" file from the "etc" directory into the "test" directory while I'm in the "test" directory. I believe that is the goal of this step in the tutorial but if I am wrong, please explain. I... (10 Replies)
Discussion started by: DragonS74yer74
10 Replies

13. Red Hat

Rsync - hot to omit MOTD/banners

I'm working on an rsync script and I'd like it to omit the MOTD banners and NOT output them to the file. I tried the --no-motd argument in the command but for some reason the MOTD still continues to appear. Can anyone advise? (10 Replies)
Discussion started by: infrared013
10 Replies

14. UNIX for Beginners Questions & Answers

Shell script to tail a file with unknown numbers

Hello, I would like to write script to tail a file for different environment But the number of lines are keep changing How can I write a script For example: env could : A, B or C and log files could be a.log, b.log and c.log with the number of lines can change say sometimes it 100 last... (9 Replies)
Discussion started by: encrypt_decrypt
9 Replies