EnglishFrenchSpanish

OnWorks favicon

surfraw-update-path - Online in the Cloud

Run surfraw-update-path in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command surfraw-update-path 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


surfraw-update-path - updates PATH in shell config files

SYNOPSIS


surfraw-update-path [-add] [-remove] [-check] [-sys] [-all] [-help] [-shell=SHELL]

DESCRIPTION


surfraw-update-path adds the surfraw elvi directory (/usr/lib/surfraw) to your PATH in
your shell's config file.

Currently it supports bash, sh, csh, tcsh, ash, dash, ksh, pdksh, zsh, rc, and es

Don't forget to login again or source your login files for it to take effect.

OPTIONS


-check
Checks to see if the surfraw config code is present. This is the default.

-add
Adds the surfraw config code.

-remove
Removes the surfraw config code

-sys
Updates the system-wide shell config instead of the user. Must be done as root.

-shell=SHELL
Selects the shell to configure. Defaults to the value of the $SHELL environment
variable.

Currently supported shells are:

sh, ash, bash, dash, csh, tcsh, ksh, pdksh, zsh, rc, and es.

-all
Attempts to configure the startup files for all known shells

-help
Gives a usage message

RETURN VALUE


-check returns 0 if the surfraw code is present in the file, 1 if it is not found, or 2 on
error.

All other options return 0 on success, or 2 on error.

ENVIRONMENT


SHELL
Used to determine which shell to configure, if -shell is not given.

HOME
Used to find users config files.

ENV Used by posix-compliant shells to specify a startup rc file.

ZDOTDIR
Used to find user config files for zsh. If not set, defaults to HOME.

Use surfraw-update-path 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