O'Reilly logo

Tcl/Tk in a Nutshell by Paul Raines, Jeff Tranter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Group Listing of Commands

This section briefly lists all Extended Tcl commands, grouped logically by function.

General Commands

commandloop

Create an interactive command loop.

dirs

List directories in directory stack.

echo

Write strings to standard output.

for_array_keys

Loop over each key in an array.

for_recursive_glob

Loop recursively over files matching a pattern.

host_info

Return information about a network host.

infox

Return information about Extended Tcl.

loop

Loop over a range of values.

mainloop

Call event loop handler.

popd

Pop top entry from the directory stack.

pushd

Push entry onto directory stack.

recursive_glob

Return list of files recursively matching pattern.

tclx_errorHandler

User-defined procedure to handle errors.

try_eval

Evaluate code and trap errors.

Debugging and Development Commands

cmdtrace

Trace command execution.

edprocs

Edit source code for procedures.

profile

Collect performance data.

profrep

Generate report from performance data.

saveprocs

Save procedure definitions to file.

showproc

List definitions of procedures.

Unix Access Commands

alarm

Send alarm signal.

chroot

Change root directory.

execl

Start a new program.

fork

Create a child process.

id

Set, get, or convert user, group, and process identifiers.

kill

Send signal to a process.

link

Create a hard or symbolic link.

nice

Set or get process priority.

readdir

Return list of directory entries.

signal

Handle Unix signals.

sleep

Delay process execution.

sync

Flush pending buffered output.

system

Execute shell command.

times

Return process and child execution times.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required