Home OS X
OS X Syntax

exec

Execute a command.

SYNTAX
      exec [command [arguments]]

Executes the specified command in place of the current shell.

`exec' is a tcsh shell command.


"Power tends to corrupt, absolute power corrupts absolutely" - Lord Acton

Related commands:

exit - Exit the shell
crontab - Schedule a command to run at a later time
chroot - Run a command with a different root directory
if - Conditionally perform a command
nohup - Run a command immune to hangups
repeat - execute a command multiple times
su - Run a command with substitute user and group id

Equivalent BASH command:

exec
- Execute a command



Back to the Top

Simon Sheppard
SS64.com