EnglishFrenchSpanish

OnWorks favicon

snap - Online in the Cloud

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

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


snap -

SYNOPSIS


snap [OPTIONS]

DESCRIPTION


OPTIONS


COMMANDS


abort
Abort a pending change

The abort command attempts to abort a change that still has pending tasks.

ack
Adds an assertion to the system

The ack command tries to add an assertion to the system assertion database.

The assertion may also be a newer revision of a preexisting assertion that it will
replace.

To succeed the assertion must be valid, its signature verified with a known public key and
the assertion consistent with and its prerequisite in the database.

changes
List system changes

The changes command displays a summary of the recent system changes performed.

connect
Connects a plug to a slot

The connect command connects a plug to a slot. It may be called in the following ways:

$ snap connect <snap>:<plug> <snap>:<slot>

Connects the specific plug to the specific slot.

$ snap connect <snap>:<plug> <snap>

Connects the specific plug to the only slot in the provided snap that matches the
connected interface. If more than one potential slot exists, the command fails.

$ snap connect <plug> <snap>[:<slot>]

Without a name for the snap offering the plug, the plug name is looked at in the gadget
snap, the kernel snap, and then the os snap, in that order. The first of these snaps that
has a matching plug name is used and the command proceeds as above.

disconnect
Disconnects a plug from a slot

The disconnect command disconnects a plug from a slot. It may be called in the following
ways:

$ snap disconnect <snap>:<plug> <snap>:<slot>

Disconnects the specific plug from the specific slot.

$ snap disconnect <snap>:<slot>

Disconnects any previously connected plugs from the provided slot.

$ snap disconnect <snap>

Disconnects all plugs from the provided snap.

find
Finds packages to install

The find command queries the store for available packages.

install
Install a snap to the system

The install command installs and activates the named snap in the system.

Usage: snap install [install-OPTIONS]

--channel
Install from this channel instead of the device's default

--devmode
Install the snap with non-enforcing security

interfaces
Lists interfaces in the system

The interfaces command lists interfaces available in the system.

By default all slots and plugs, used and offered by all snaps, are displayed.

$ snap interfaces <snap>:<slot or plug>

Lists only the specified slot or plug.

$ snap interfaces <snap>

Lists the slots offered and plugs used by the specified snap.

$ snap interfaces -i=<interface> [<snap>]

Filters the complete output so only plugs and/or slots matching the provided details are
listed.

Usage: snap interfaces [interfaces-OPTIONS]

-i constrain listing to specific interfaces

known
Shows known assertions of the provided type

The known command shows known assertions of the provided type. If header=value pairs are
provided after the assertion type, the assertions shown must also have the specified
headers matching the provided values.

list
List installed snaps

The list command displays a summary of snaps installed in the current system.

login
Log into the store

This command logs the given username into the store

logout
Log out of the store

This command logs the current user out of the store

refresh
Refresh a snap in the system

The refresh command refreshes (updates) the named snap.

Usage: snap refresh [refresh-OPTIONS]

--channel
Refresh to the latest on this channel, and track this channel henceforth

remove
Remove a snap from the system

The remove command removes the named snap from the system.

The snap's data is currently not removed; use purge for that. This behaviour will change
before 16.04 is final.

19 April 2016 snap(1)

Use snap online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad