EnglishFrenchSpanish

OnWorks favicon

dotposix - Online in the Cloud

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

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


dot — execute commands in the current environment

SYNOPSIS


. file

DESCRIPTION


The shell shall execute commands from the file in the current environment.

If file does not contain a <slash>, the shell shall use the search path specified by PATH
to find the directory containing file. Unlike normal command search, however, the file
searched for by the dot utility need not be executable. If no readable file is found, a
non-interactive shell shall abort; an interactive shell shall write a diagnostic message
to standard error, but this condition shall not be considered a syntax error.

OPTIONS


None.

OPERANDS


See the DESCRIPTION.

STDIN


Not used.

INPUT FILES


See the DESCRIPTION.

ENVIRONMENT VARIABLES


See the DESCRIPTION.

ASYNCHRONOUS EVENTS


Default.

STDOUT


Not used.

STDERR


The standard error shall be used only for diagnostic messages.

OUTPUT FILES


None.

EXTENDED DESCRIPTION


None.

EXIT STATUS


If no readable file was found or if the commands in the file could not be parsed, and the
shell is interactive (and therefore does not abort; see Section 2.8.1, Consequences of
Shell Errors), the exit status shall be non-zero. Otherwise, return the value of the last
command executed, or a zero exit status if no command is executed.

CONSEQUENCES OF ERRORS


Default.

The following sections are informative.

APPLICATION USAGE


None.

EXAMPLES


cat foobar
foo=hello bar=world
. ./foobar
echo $foo $bar
hello world

RATIONALE


Some older implementations searched the current directory for the file, even if the value
of PATH disallowed it. This behavior was omitted from this volume of POSIX.1‐2008 due to
concerns about introducing the susceptibility to trojan horses that the user might be
trying to avoid by leaving dot out of PATH.

The KornShell version of dot takes optional arguments that are set to the positional
parameters. This is a valid extension that allows a dot script to behave identically to a
function.

FUTURE DIRECTIONS


None.

Use dotposix online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad