01-14-2002
to log a installation
hi
i am using borne shell script to install.
In the script i get from the user some input and then to do pkgadd and some sqlplus commands.
I want to capture all the information to the logfile.
if i use , tee command i dont get the user entered input.
can u let me know ,how to capture both the input and output to a log file.
thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I m trying to Install Oracle 8i on Sun Solaris 8.....I have read the installation manuals....everything was ok, but
what confused me was directories ORACLE_BASE, ORACLE_HOME, u1, u2, u3 ?????????????????
Can anybody pls. tell me how many directories should i create, subdirectories and in... (1 Reply)
Discussion started by: ocpguy
1 Replies
2. UNIX for Advanced & Expert Users
Hai Friends
How can i instal only the linux kernel in a system.
Thanks in advance
Collins (3 Replies)
Discussion started by: collins
3 Replies
3. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
4. Linux
Hello,
Can anyone suggest me the source for getting the Linux OS,
I have done a partitions in my system and dedicated one partition for Linux with the windows.
Please suggest me the websites where I can get the s/w.
Thankx
S (1 Reply)
Discussion started by: sbasetty
1 Replies
5. Ubuntu
Hi,
Could you please provide me the url's for linux software on x86 platform means on pentiunm processes and installtion documentation?
Regards,
Rajesh (2 Replies)
Discussion started by: pmrajesh21
2 Replies
6. SuSE
Hi @ All,
short question:
i want to log my cpan Installation in a text-File.
My first try was
cpan -i module | tee /home/install.txt
but this donīt logs my inputs, eg. what i typed in when cpan asks where are my progs or which mirror i want.
Can somebody help me with this?
Regards,
... (1 Reply)
Discussion started by: jackcracker
1 Replies
7. AIX
am new to aix ...am gng to install aix 6.1 in new box.... can you tell after installation how can i say tht my installation is success..... and whr do installation related log will be saved... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies
8. Solaris
Hi Guys,
when installing an application, I believe there is a log file which is create to log the progress of the installation.
What I will like to know is, how do you tail the start log file to see the installation as it is progressing.
I will really appreciate your help.
Thanks (1 Reply)
Discussion started by: cjashu
1 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
LEARN ABOUT NETBSD
script
SCRIPT(1) BSD General Commands Manual SCRIPT(1)
NAME
script -- make typescript of terminal session
SYNOPSIS
script [-adfpqr] [-c command] [file]
DESCRIPTION
script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive
session as proof of an assignment, as the typescript file can be printed out later with lpr(1).
If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript.
Option:
-a Append the output to file or typescript, retaining the prior contents.
-c command
Run the named command instead of the shell. Useful for capturing the output of a program that behaves differently when associated
with a tty.
-d When playing back a session with the -p flag, don't sleep between records when playing back a timestamped session.
-f Flush output after each write. This is useful for watching the script output in real time.
-p Play back a session recorded with the -r flag in real time.
-q Be quiet, and don't output started and ended lines.
-r Record a session with input, output, and timestamping.
The script ends when the forked shell exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not
set) for the C-shell, csh(1)).
Certain interactive commands, such as vi(1), create garbage in the typescript file. script works best with commands that do not manipulate
the screen, the results are meant to emulate a hardcopy terminal.
ENVIRONMENT
The following environment variable is used by script:
SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most
shells set this variable automatically).
SEE ALSO
csh(1) (for the history mechanism).
HISTORY
The script command appeared in 3.0BSD.
BUGS
script places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects.
BSD
October 17, 2009 BSD