01-01-2008
Quote:
Originally Posted by
Perderabo
-gt
You can do "man test" to all of the options.
The -gt option looks for intigers, but I have a date.
How do I get test to evaluate dates?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Im running a solaris 9 system and keep getting this message: Request to LXKF894CB (unknown printer) from zion.
This happen because there was a mis configured printer and a job was submitted to it. I fix the printer issue but this message keeps repeating and the PID keeps going up. How can i... (5 Replies)
Discussion started by: meyersp
5 Replies
2. Shell Programming and Scripting
i want to stop a script from running after one minute, using the sleep command, and then kill the process. anyhelp with this. (2 Replies)
Discussion started by: AtomJ22
2 Replies
3. UNIX for Advanced & Expert Users
hi,
Can any plz tell what is the command for stopping a processor? suppose a system is accessing 10 processors and we want to stop the 3rd & 6th processor then whats the command in Unix?
thank u (2 Replies)
Discussion started by: nm_virtual
2 Replies
4. Shell Programming and Scripting
Hi
Is it possible to stop a command executing after certain time?
I have this command say prstat which keeps on giving the values etc of the processes after every 1 sec(refreshes the screen)
What I want is just stop the execution after first screen
Since I have written this command in shell... (3 Replies)
Discussion started by: superprg
3 Replies
5. Shell Programming and Scripting
Hi
I want to stop a process using a shell script. how do i do that?
ie, to simulate ps -ef|grep Process name
get the process id and kill -9 process id
plz help... (4 Replies)
Discussion started by: gopsman
4 Replies
6. UNIX Desktop Questions & Answers
hi all,
I am using red hat AS 4 linux enterprise,i need to run my application such that while its running no other process shuld run all the remaining process should be suspended ,i need to use whole of the process only for that application to run ,can anyone suggest me how to do this.
... (3 Replies)
Discussion started by: srilakshmi
3 Replies
7. Red Hat
Hi,
on server Red Hat Enterprise Linux AS release 3, I am getting the mail "you have mail" can any body suggest how to stop this? mail are getting generated in below path.
/var/spool/postfix/maildrop, due to which heavy file are getting generated.
though sendmail service is stopped.
... (0 Replies)
Discussion started by: manoj.solaris
0 Replies
8. Shell Programming and Scripting
Hi,
I have scheduled one job in crontab. I want to stop the job automatically after some time of its execution without killing it.
Could i archive the above? (8 Replies)
Discussion started by: mehulleo
8 Replies
9. Windows & DOS: Issues & Discussions
As I know you are all aware Windows 10 poses some serious security concerns. My question is three fold.
1. Is there a way to stop Windows 10 clients from accessing a web server?
2. What would be the MS counter punch to that? ie: how would they circumvent. (mask browser credentials?)
3. Is... (4 Replies)
Discussion started by: ScottyPC
4 Replies
script(1) General Commands Manual script(1)
NAME
script - make typescript of terminal session
SYNOPSIS
[file]
DESCRIPTION
makes a typescript of everything printed on your terminal. It starts a shell named by the environment variable, or by default and silently
records a copy of output to your terminal from that shell or its descendents, using a pseudo-terminal device (see pty(7)).
All output is written to file, or appended to file if the option is given. If no file name is given, the output is saved in a file named
The recording can be sent to a line printer later with lp(1), or reviewed safely with the option of cat(1).
The recording ends when the forked shell exits (or the user ends the session by typing "exit") or the shell and all its descendents close
the pseudo-terminal device.
This program is useful when operating a CRT display and a hard-copy record of the dialog is desired. It can also be used for a simple form
of session auditing.
respects the convention for login shells as described in su(1), sh(1), and ksh(1). Thus, if it is invoked with a command name beginning
with a hyphen (that is, passes a basename to the shell that is also preceded by a hyphen.
The input flow control can be enabled by setting environmental variable before running Please see section for details on using this envi-
ronment variable.
EXAMPLES
Save everything printed on the user's screen into file
Append a copy of everything printed to the user's screen to file
WARNINGS
A command such as which displays the contents of the destination file, should not be issued while executing because it would cause to log
the output of the command to itself until all available disk space is filled. Other commands, such as more(1), can cause the same problem
but to a lesser degree.
records all received output in the file, including typing errors, backspaces, and cursor motions. Note that it does not record typed char-
acters; only echoed characters. Thus passwords are not recorded in the file. Responses other than simple echoes (such as output from
screen-oriented editors and command editing) are recorded as they appeared in the original session.
When there is no input flow control is not set), there can be some data loss while using However, script(1) can behave unexpectedly, if is
set and is not set.
AUTHOR
was developed by the University of California, Berkeley and HP.
script(1)