Unix and Linux Discussions Tagged with shell script |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
409 |
426,801 |
Open Source |
|
|
|
192 |
262,436 |
Open Source |
|
|
|
249 |
284,502 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
14,512 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
11,208 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
15,160 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
10,165 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
6,580 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
11,683 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
11,028 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
8,671 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
31,045 |
Answers to Frequently Asked Questions |
|
|
|
3 |
20,501 |
Answers to Frequently Asked Questions |
|
|
|
0 |
8,657 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
13,121 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
66,742 |
Shell Programming and Scripting |
|
|
|
6 |
9,889 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
12,330 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
69,839 |
Shell Programming and Scripting |
|
|
|
0 |
10,883 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
12,536 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,216 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
28,111 |
Shell Programming and Scripting |
|
|
|
3 |
9,603 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
11,134 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,949 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
26,555 |
Shell Programming and Scripting |
|
|
|
2 |
6,889 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
9,436 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,260 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
7,229 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,584 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
10,538 |
Shell Programming and Scripting |
|
|
|
17 |
12,556 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
6,599 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
14,817 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,174 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,452 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,943 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,699 |
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.11 30 Jan 2004 script(1)