OnWorks favicon

lhasa - Online in the Cloud

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

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



lha - compression tool for .lzh archive files.


lha [-]{lvtxe[q{num}][finv]}[w=<dir>] archive_file [file...]


lha is a tool for extracting .lzh archive files. It also supports variants of the .lzh
archive, such as .lzs and .pma.

This version of the lha tool is part of Lhasa, a free implementation of the .lzh format.


The lha tool has an unusual command syntax, compared to most other Unix commands. The
first parameter to the program specifies the command to perform and all additional
options. The second parameter specifies the path to the archive file to operate on.
Following this is a list of wildcard patterns to match against the filenames of the
archived files.

The first character of the command parameter specifies the command to perform, which is
one of the following:

-l List contents of the specified archive.

-v Verbosely list contents of the specified archive.

-t Test the integrity of the specified archive: decompress its contents and check the

-e or -x
Extract archive. Files are extracted to the current working directory unless the
'w' option is specified.


The remainder of the command parameter is used to specify additional options:

q[012] Quiet mode. Higher numbers suppress more output. Level 0 is normal operation. If no
number is specified, full suppression (level 2) is used. The quiet option also
turns on the force overwrite option ('f').

f Force overwrite of existing files: do not prompt.

i Ignore paths of archived files: extract all archived files to the same directory,
ignoring subdirectories.

n Do not perform any actual operations: instead, perform a dry run of the requested
operation and describe what would have been done on standard output.

v Verbose mode: causes extra information to be written to standard output.

w=dir Specify destination directory for extracting files. This must be the last option of
the first parameter.

Use lhasa online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • More »

Linux commands