Output of Custom package scripts to terminal


 
Thread Tools Search this Thread
Operating Systems HP-UX Output of Custom package scripts to terminal
# 8  
Old 03-30-2009
Thanks Perderabo,
Redirecting to the tty worked.

Tee won't help me as the standard output goes to the log file and the redirected one isn't visible to me runtime.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Awking custom output

i have data that can look like this: echo "Master_Item_Service_is_down=0_njava_lang_NoClassDefFoundError=0_njava_lang_OutOfMemoryError=1_nemxCommonAppInitialization__Error_while_initializing=0_nINFO__Stopping_Coyote_HTTP_1_1_on_http_8080=7_nThe_file_or_directory_is_corrupted_and_unreadable=0_n" ... (7 Replies)
Discussion started by: SkySmart
7 Replies

2. Solaris

IPS custom package user source

Hello guys, I'm new to this forum and got a question which may be quite uncommon. I created a custom IPS package (using this How to) with some software I have to install frequently to different Solaris 11 zones (MongoDB to be precise). This software will be installed under "/opt/mongodb" and... (1 Reply)
Discussion started by: dheitepriem
1 Replies

3. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

4. Red Hat

Set Proxy In The Terminal & problem Package Installing

Centos Behind The Proxy Server In My System , How Can I Set In Terminal Proxy ( Username & Password ) When Using The Command yum & rpm online I Will Respond Error Thank You For Your Guidance (28 Replies)
Discussion started by: mnnn
28 Replies

5. Shell Programming and Scripting

Custom wget output

The below hides the messy commands of wget #!/bin/bash cd 'C:\Users\cmccabe\Desktop\wget' wget -O getCSV.txt http://172.24.188.113/data/getCSV.csv progressfilt () { local flag=false c count cr=$'\r' nl=$'\n' while IFS='' read -d '' -rn 1 c do if $flag ... (5 Replies)
Discussion started by: cmccabe
5 Replies

6. Red Hat

Custom output on FIND

I have a file, ENV.doc somewhere in my home directory. I want to know where the file is located in my sub directories using FIND. But, I want to display only the relative path along with the file name. Thanks, (6 Replies)
Discussion started by: ashok.g
6 Replies

7. Red Hat

Custom package installation using kickstart

Hi there, I've started playing around with Linux a few days back, as part of my intenship. I was wondering if there is anyway I can install custom packages (non RPM packages...say like Oracle) as a part of Kickstart. My machines are running RHEL 4. Thanks a lot :) (1 Reply)
Discussion started by: iman453
1 Replies

8. Shell Programming and Scripting

Convert collection of scripts into a software package

Hi, I have a "package" of BASH shell scripts. This package consists of a master script (where users specify processing variables), and sub-scripts (the master script determines which of these are called, and in which order). These scripts are used to process data related to my field... (1 Reply)
Discussion started by: msb65
1 Replies

9. AIX

AIX custom package install query

I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies

10. AIX

Custom Packaging scripts

Hi, I am creating a test package and putting echo statements in the custom scripts (preinstall, postinstall, preremove, etc). Here is the template file Pre-installation Script: <pre-install script> Post-installation Script: <post-install script> These are getting called. How do i... (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies
Login or Register to Ask a Question
WATCH(8)						    BSD System Manager's Manual 						  WATCH(8)

NAME
watch -- snoop on another tty line SYNOPSIS
watch [-cinotW] [-f snpdev] [tty] DESCRIPTION
The watch utility allows the user to examine all data coming through a specified tty using the snp(4) device. If the snp(4) device is not available, watch will attempt to load the module (snp). The watch utility writes to standard output. The options are as follows: -c Reconnect on close. If the tty observed by watch is closed, automatically reattach to the same tty. If this option is not speci- fied, watch will request a new tty if running in interactive mode or exit if running without a controlling tty. -f snpdev If this option is specified, watch will use snpdev as the snp(4) device. Without this option, watch will attempt to find the next available snp(4) device. -i Force interactive mode. Interactive mode is a default if watch is started from a tty. If output is redirected to a file, interac- tive mode can still be requested by specifying this option. -n Disable the ability to switch the watched tty interactively. This disables both change requests made with <control-X> as well as automatic prompting when the current tty is closed or overflows. In all cases where a prompt would be displayed, watch will exit. The reconnect flags are unaffected by this option. When this flag is used, <control-X> is passed through to the terminal. -o Reconnect on overflow. The behavior of watch if the observed tty overflows is similar to the behavior if the observed tty is closed. For more info see snp(4). -t Print the date and time when observation of a given tty is started. -W Allow write access to observed tty. tty Tty may be specified as a tty-style device, such as a pseudo tty device, a virtual console, or a serial line, etc. Names may be pre- ceded by /dev/. OPERATION
While running in interactive mode, all user input is discarded except for: <control-G> Exit watch. <control-W> Clear screen. <control-X> Change attached tty, unless this feature is disabled, in which case control-X is passed to the terminal as with other control charac- ters. SEE ALSO
pty(4), sio(4), snp(4), kldload(8) HISTORY
The watch utility first appeared in FreeBSD 2.1. AUTHORS
Ugen J.S. Antsilevich <ugen@NetVision.net.il> BUGS
No terminal emulation is performed. All user output is reproduced as-is. BSD
November 24, 2001 BSD