|
|
1.1 root 1:
2:
3: exec Command exec
4:
5:
6:
7:
8: Execute command directly
9:
10: eexxeecc [_c_o_m_m_a_n_d]
11:
12: The shell sh normally executes commands with a fork system call,
13: which creates a new process. The shell command exec directly ex-
14: ecutes the given command with an exec system call instead. Norm-
15: ally, this terminates execution of the current shell.
16:
17: If the command consists only of redirection specifications, as
18: described in sh, exec redirects the input or output of the cur-
19: rent shell accordingly without terminating it. If the command is
20: omitted, exec has no effect.
21:
22: ***** See Also *****
23:
24: commands, exec, fork(), sh
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.