EnglishFrenchSpanish

Ad


OnWorks favicon

dhamma - Online in the Cloud

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

This is the command dhamma 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

PROGRAM:

NAME


display‐dhammapada - display a verse from the Dhammapada

SYNOPSIS


display‐dhammapada [OPTIONS] [num]
dhamma [OPTIONS]

DESCRIPTION


The Dhammapada is an anthology of 423 verses from the Kuddaka Nikaya part of the Theravada
Pali Canon. It contains Buddhist ethical and spiritual precepts. One of the translations
is by John Richards; the other is an older translation by F. Max Muller.

display‐dhammapada and dhamma both print to the standard output.

xdhamma prints using notify‐send

See man xdhamma for details

OPTIONS


‐r Use the Richards translation (default).

‐m Use the Muller translation.

‐b Display corresponding verses from both translations.

‐pl Use the Polish translation (default for Polish locale).

[num] Print the given number verse.

all Print all the verses.

With no arguments a random verse is printed.

EXAMPLES


To display a verse each time you log in on a console or open a terminal, put display‐
dhammapada in your ~/.profile, ~/.bash_profile or ~/.login, as appropriate for your shell.

To display a verse each time you log in on a graphical (X Window) session, run xdhamma in
your DE session start‐up or ~/.xsession.

To use display‐dhammapada with cowsay

display‐dhammapada | cowsay ‐W 120 ‐t

To use display‐dhammapada with zenity

display‐dhammapada | zenity ‐‐text‐info ‐‐title="Dhammapada Verse" ‐‐width=600
‐‐height=200

KDE has "amor" toy that can display various tips. To use the dhammapada for that enter these commands at shell prompt:

mkdir ~/.kde/share/apps/amor
display‐dhammapada ‐r all |perl ‐0777 ‐pe 's/\n\s*\n\s*\n/\n%\n/g' >~/.kde/share/apps/amor/tips

Then start amor K‐>Toys‐>Amor, right click on amor animation, select "Options" and check
"Show random tips".

One can automatically attach Dhammapada verse in e-mail footer. To do this with mutt add
set signature=display-dhammapada| in your ~/.muttrc file.

Use dhamma online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 4
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • More »

Linux commands

Ad