Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

operatingsystem


chdir (dir) — Function

Change to directory dir


getcurrentdirectory () — Function

returns the current working directory.

See also directory.

See also: directory.


getenv (env) — Function

Get the value of the environment variable env

Example:

(%i1) load("operatingsystem")$
(%i2) getenv("PATH");
(%o2) /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

mkdir (dir) — Function

Create directory dir


rmdir (dir) — Function

remove directory dir