EnglishFrenchSpanish

OnWorks favicon

wmiir - Online in the Cloud

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

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


wmiir - The wmii 9P filesystem client

SYNOPSIS


wmiir [-a <address>] [-b] {create | ls [-dlp] | read | remove | write} <file>

wmiir [-a <address>] [-b] xwrite <file> <data> ...

wmiir -v

DESCRIPTION


wmiir is a simple 9P filesystem client which ships with wmii, and connects to its virtual
filesystem by default. wmiir is most often used to query and issue commands to wmii, both
from the command line and from its sh-based configuration scripts.

Since the default encoding of 9P filesystems is UTF-8, wmiir assumes that all data read
and written is text data and translates to or from your locale character encoding as
necessary. When working with non-text data in a non-UTF-8 locale, the -b flag should be
specified to disable this behavior.

ARGUMENTS


-a The address at which to connect to wmii.

-b

With the -b flag, data that you intend to read or write is treated as binary data.

:

COMMANDS


The following commands deal with 9P filesystems.

create <file>
Creates a new file or directory in the filesystem. Permissions and file type are
inferred by wmii. The contents of the standard input are written to the new file.

ls [-dlp] <path>
Lists the contents of <path>.

Flags:

-d Don't list the contents of directories.

-l Long output. For each file, list its permissions, owner, group, size
(bytes), mtime, and name.

-p Print the full path to each file.

read <file>
Reads the entire contents of a file from the filesystem. Blocks until interrupted
or EOF is received.

Synonyms: cat

remove <path>
Removes <path> from the filesystem.

Synonyms: rm

write <file>
Writes the contents of the standard input to <file>.

xwrite <file> <data> ...
Writes each argument after <file> to the latter.

Additionally, wmiir provides the following utility commands relevant to scripting wmii:

namespace

Prints the current wmii namespace directory, usually equivalent to
/tmp/ns.$USER.${DISPLAY%.0}, but possibly different depending on the value of
$NAMESPACE and $WMII_NAMESPACE.
Synonyms: ns

setsid [-0 <argv0>] [-f] <command>

Executes the given command after setting the session id (see setsid(2)). If -0 is
given, the command is run with the given value as argv[0]. For instance, to run sh
as a login shell, one might run

wmiir setsid \-0 \-sh sh

If -f is given, wmiir will fork into the background before executing the command.

proglist [--] <directory> ...

Lists all executable commands in the given directories.

ENVIRONMENT


$WMII_ADDRESS
The address at which to connect to wmii.

$NAMESPACE
The namespace directory to use if no address is provided.

Use wmiir online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad