You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

NAME

exec - execute an OS command

SYNOPSIS

exec COMMAND [ARGUMENT...]

DESCRIPTION

Execute an OS command and wait for the command to finish. exec displays output from the commands output and error streams.
If exec is executed in a pipeline, it will redirect its standard input to the standard input of the OS command being executed.

EXAMPLES

Print Information about the networking subsystem:

exec netstat

Print all of processes owned by user 'username':

exec ps aux | exec grep username

or

exec ps aux | grep username

NOTES

It is not possible to run exec commands that use the curses (programming library).
For example, the command 'exec vi filename' is not supported and you will not be able to interface with the stream.
Hit Ctrl+C to break out of the command and to get the FluidShell prompt.

SEE ALSO

run



  • No labels