Unix and Linux Discussions Tagged with run |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
32 |
277,134 |
Shell Programming and Scripting |
|
|
|
2 |
3,117 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,370 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,072 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,620 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
3,133 |
Shell Programming and Scripting |
|
|
|
6 |
2,294 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,413 |
Shell Programming and Scripting |
|
|
|
2 |
5,574 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
3,241 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,458 |
Shell Programming and Scripting |
|
|
|
5 |
3,660 |
Shell Programming and Scripting |
|
|
|
1 |
4,766 |
Solaris |
|
|
|
14 |
5,004 |
Shell Programming and Scripting |
|
|
|
0 |
4,658 |
Shell Programming and Scripting |
|
|
|
4 |
4,237 |
Shell Programming and Scripting |
|
|
|
4 |
3,820 |
Shell Programming and Scripting |
|
|
|
5 |
3,619 |
Shell Programming and Scripting |
|
|
|
3 |
2,271 |
Shell Programming and Scripting |
|
|
|
5 |
6,945 |
Shell Programming and Scripting |
|
|
|
0 |
3,789 |
Shell Programming and Scripting |
|
|
|
0 |
1,940 |
UNIX and Linux RSS News |
|
|
|
2 |
8,698 |
Shell Programming and Scripting |
|
|
|
4 |
36,220 |
Shell Programming and Scripting |
|
|
|
1 |
4,025 |
Programming |
|
|
|
0 |
1,604 |
Software Releases - RSS News |
|
|
|
3 |
4,627 |
HP-UX |
|
|
|
0 |
1,962 |
Solaris BigAdmin RSS |
|
|
|
13 |
8,132 |
UNIX for Advanced & Expert Users |
|
|
|
12 |
12,788 |
Programming |
|
|
|
2 |
12,924 |
Solaris |
|
|
|
4 |
4,226 |
HP-UX |
|
|
|
0 |
3,030 |
UNIX for Advanced & Expert Users |
|
|
|
15 |
42,963 |
IP Networking |
|
|
|
2 |
6,793 |
Programming |
|
|
|
10 |
6,316 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,460 |
Solaris |
|
|
|
1 |
4,366 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,602 |
Security Advisories (RSS) |
|
|
|
2 |
5,050 |
Cybersecurity |
run(1F) FMLI Commands run(1F)
NAME
run - run an executable
SYNOPSIS
run [-s] [-e] [-n] [-t string] program
DESCRIPTION
The run command runs program, using the PATH variable to find it. By default, when program has completed, the user is prompted (Press ENTER
to continue:), before being returned to FMLI. The argument program is a system executable followed by its options (if any).
OPTIONS
The following options are supported:
-e If -e is specified, the user is prompted before returning to FMLI only if there is an error condition
-n If -n is specified, the user is never prompted before returning to FMLI (useful for programs like vi, in which the user must do
some specific action to exit in the first place).
-s The -s option means "silent", implying that the screen does not have to be repainted when program has completed. The -s option
should only be used when program does not write to the terminal. In addition, when -s is used, program cannot be interrupted,
even if it recognizes interrupts.
-tstring If -t is specified, string is the name this process has in the pop-up menu generated by the frm-list command.
EXAMPLES
Example 1 Sample Output of the run Command
Here is a menu that uses run:
menu="Edit special System files"
name="Password file"
action=`run -e vi /etc/passwd`
name="Group file"
action=`run -e vi /etc/group`
name="My .profile"
action=`run -n vi $HOME/.profile`
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
SunOS 5.11 7 Nov 2005 run(1F)