Chapter 4. Usage

Table of Contents

Usage

Usage

See the room(1) manual page for information about using the room command.

Examples

  1. Create a new room called 'hello_world'.

    $ room hello_world create
    
  2. Enter the room. This will launch a shell inside the room.

    $ room hello_world enter
    
  3. Install the 'xclock' program inside the room.

    hello_world$ su -
    hello_world# pkg install -y xclock
    hello_world# exit
    
  4. Run the 'xclock' program inside the room. It should display a small clock on your desktop.

    hello_world$ xclock
    
  5. When you are done, exit the shell, and destroy the room.

    hello_world$ exit
    $ room hello_world destroy