Unix and Linux Discussions Tagged with script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
13,029 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
14,186 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
74,786 |
Shell Programming and Scripting |
|
|
|
3 |
11,126 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
26,142 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
74,319 |
Shell Programming and Scripting |
|
|
|
10 |
106,739 |
Shell Programming and Scripting |
|
|
|
4 |
14,823 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
13,213 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
18,188 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
13,849 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
9,952 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
73,096 |
Shell Programming and Scripting |
|
|
|
6 |
11,508 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,356 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
10,845 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
10,409 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
8,508 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
29,584 |
Answers to Frequently Asked Questions |
|
|
|
3 |
20,235 |
Answers to Frequently Asked Questions |
|
|
|
0 |
8,480 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
67,976 |
Shell Programming and Scripting |
|
|
|
1 |
9,963 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
71,579 |
Shell Programming and Scripting |
|
|
|
2 |
8,468 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
67,679 |
Shell Programming and Scripting |
|
|
|
2 |
66,314 |
Shell Programming and Scripting |
|
|
|
2 |
64,483 |
Shell Programming and Scripting |
|
|
|
8 |
10,647 |
UNIX for Beginners Questions & Answers |
|
|
|
15 |
16,934 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,744 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
69,587 |
Shell Programming and Scripting |
|
|
|
2 |
73,671 |
Shell Programming and Scripting |
|
|
|
0 |
10,653 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,565 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,201 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,036 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
70,173 |
Shell Programming and Scripting |
|
|
|
2 |
6,989 |
UNIX for Beginners Questions & Answers |
|
|
|
14 |
14,727 |
UNIX for Beginners Questions & Answers |
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.10 30 Jan 2004 script(1)