Using the Korn Shell

. (dot command)

Execute a command script

The dot command executes a script within the shell.

. filepath

The file does not need to have executable permissions.

export

Permanently set an environment variable

export var=value
export var='value ...'
export var="expression"
set

set

set -flag
set +flag
set -o option
set +o option

Using "-" turns on the flag or option; using "+" turns it off.

One of the most beneficial uses of this command is to set an option for command line editing.

Last updated Wednesday October 4, 2006


Printer-friendly PDF* format:

Using the Korn Shell

This Section

You are currently viewing this page in XHTML 1 Style Sheet* format (* see Clicklets for more infomation). This document is also available in XHTML 1*XML*HTML 4*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.