OnWorks favicon

lsmbox - Online in the Cloud

Run lsmbox in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lsmbox that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



lsmbox - list number of total, old unread, and new messages for the specified mailbox(es)


lsmbox [OPTION]... [MAILBOX]...


lsmbox lists the number of messages in a mailbox. Both total, unread but old, and new
messages can be listed, for one or several mailbox files. Non-existing or empty mailboxes
will be silently ignored. If the program has been compiled with curses support, you can
execute a predefined command on a mailbox by choosing that mailbox using the cursor keys
and pressing enter. If the program has been compiled with ncurses, the command can also
be executed by clicking on the mailbox with the mouse-pointer.

By default, lsmbox will look in $MAIL (if defined) or /var/spool/mail/USERNAME for the
inbox, and in $HOME/Mail/ for other mailboxes. This can be overridden by changing the
default paths in $HOME/.lsmboxrc. See lsmboxrc(5) for further details. If $HOME is not
defined on your system, the program will look in the current directory for mailboxes.

If no mailbox is given as an argument, the program will default to listing information
about the mailboxes listed in $HOME/.lsmboxrc. If no default mailboxes have been
specified in that file, or if that file does not exist, the program will abort with an

A filename of ! denotes your inbox. A leading ("=") or ("+") in a filename will be
expanded into the path to your mail-directory.

If the name of a mailbox given at the command-line contains a path-separator ("/"), it is
assumed that the default mailbox path shall be ignored for that entry, unless it has a
leading ("=") or ("+").


-c, --continuous
Update statistics continuously rather than just listing them once. Exit with `q'
(waits for the next mailcheck to finish) or `<ctrl> + c' (aborts immediately).
Note: this option is only available if the program has been compiled with curses

-i, --check-interval
Interval in seconds between each update of the statistics. This option overrides
the environment variable $MAILCHECK. Using a low interval will give you faster
notification of newly arrived e-mail, but will put increased load on your system.
Note: this option is only available if the program has been compiled with curses

-n, --new-only
Only display mailboxes with new messages (and old unread, if the mark_old option
has been unset)

-o, --no-old
Do not display the number of old messages each mailbox contains

-p, --padding
Width to use for the mailbox column; leave empty to use the smallest possible

-s, --no-summary
Do not display a summary of the statistics for all mailboxes

-S, --short-names
Only display the name of the mailbox rather than the full path

-t, --no-total
Do not display total number of messages each mailbox contains

--help Display help for the command

Display version and author information


Interval in seconds between each update of the statistics.


To get information about your inbox:

lsmbox !

To get information about the mailboxes debian-devel, linux-kernel, and spam:

lsmbox debian-devel linux-kernel spam

To get information about the mailbox test which resides in your home directory:

lsmbox ~/test

To use lsmbox to keep track of updates in all mailboxes listed in $HOME/.lsmboxrc:

lsmbox -c

Use lsmbox online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • 2
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 3
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 4
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 5
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 6
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    Download MantisBT
  • 7
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abi-compliance-checker - tool to
    compare ABI compatibility of shared
    C/C++ library versions DESCRIPTION:
    NAME: ABI Compliance Checker
    (abi-compliance-checker) ...
    Run abi-compliance-checker
  • 2
    abi-dumper - a tool to dump ABI of an
    ELF object containing DWARF debug info
    (abi-dumper) Dump ABI of an ELF object
    containing DW...
    Run abi-dumper
  • 3
    convert_seq - conversion of sequence
    and alignment formats ...
    Run convert_seq
  • 4
    convert_sym - convert a Viewlogic
    symbol/schematic to gEDA gschem format ...
    Run convert_sym
  • 5
    g15macro - A simple Macro
    recording/playback application for
    G15Daemon DESCRIPTION: This package
    provides a way to record, playback and
    display keyboard macro ...
    Run g15macro
  • 6
    g15mpd - A simple frontend for the MPD
    Media Player Daemon, for use with
    g15daemon DESCRIPTION: This package
    provides a fontend for MPD Media Player
    Daemon, di...
    Run g15mpd
  • More »