The OpenNET Project / Index page

[ новости/++ | форум | wiki | теги ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

rmm (1)
  • >> rmm (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
  •  

    NAME

    rmm - remove messages
     
    

    SYNOPSIS


    rmm [+folder] [msgs] [-unlink] [-nounlink]
    [-version] [-help]  

    DESCRIPTION

    By default, rmm will remove the specified messages by renaming the message files with preceding commas. Such files will then need to be removed in some manner after a certain amount of time. Many sites arrange for cron (8) to remove these files once a day, so check with your system administrator.

    Alternately, if you wish for rmm to really remove the files representing these messages, you can use the `-unlink' switch. But messages removed by this method cannot be later recovered.

    If you prefer a more sophisticated method of `removing' messages, you can define the rmmproc profile component. For example, you can add a profile component such as

            rmmproc:        /home/coleman/bin/rmm_msgs

    then instead of simply renaming the message file, rmm will call the named program or script to handle the files that represent the messages to be deleted.

    Some users of csh prefer the following:

            alias rmm 'refile +d'

    where folder +d is a folder for deleted messages, and

            alias mexp 'rm `mhpath +d all`'

    is used to ``expunge'' deleted messages.

    The current message is not changed by rmm, so a next will advance to the next message in the folder as expected. ^$HOME/.mh_profile~^The user profile ^Path:~^To determine the user's nmh directory ^Current-Folder:~^To find the default current folder ^rmmproc:~^Program to delete the message refile(1), rmf(1) `+folder' defaults to the current folder `msgs' defaults to cur `-nounlink' If a folder is given, it will become the current folder. Since refile uses your rmmproc to delete the message, the rmmproc must NOT call refile without specifying `-normmproc', or you will create an infinte loop.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION


    Поиск по тексту MAN-ов: 




      Закладки на сайте
      Проследить за страницей
    Created 1996-2017 by Maxim Chirkov  
    ДобавитьРекламаВебмастеруГИД  
    Hosting by Ihor