OnWorks favicon

display-dhammapada - Online in the Cloud

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

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



display‐dhammapada - display a verse from the Dhammapada


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


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


‐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.


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

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 display-dhammapada online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands