11-02-2017
If a single prompt is issued, or if there are several prompts and they all require a "y" response, you can invoke it in a pipeline reading output from the yes utility.
This User Gave Thanks to Don Cragun For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Ok, ...
I tried posting this in the beginner's forum, but maybe that wasnt the right place.
Does anyone know how to automate CDE X applications from boot? If I use the rc2 folder, the programs start in the background with no X window. I am stumped. any suggestions? (5 Replies)
Discussion started by: pkruse
5 Replies
2. UNIX for Dummies Questions & Answers
How do I do it?
I am trying to automate an application that requires an X window from boot.
help!!! (1 Reply)
Discussion started by: pkruse
1 Replies
3. UNIX for Dummies Questions & Answers
During the boot-up process *nix runs scripts linked into the runlevel directories rc#.d. What I'm wondering is, how do I control the environment that those scripts see? I need to set a couple environment variables, and I can NOT do it from within the scripts because it poses a maintenance nightmare... (1 Reply)
Discussion started by: DreamWarrior
1 Replies
4. UNIX for Dummies Questions & Answers
Ok, a couple weeks ago I was fixing a cron report about perl not happy with 'locale' info (LANG and LC not set). As a result, I was experimenting with setting the correct 'locale' in several areas (like /etc/sysconfig/i18n and who knows where). Somehow after a reboot, as soon as the OS starts... (3 Replies)
Discussion started by: Garball
3 Replies
5. Solaris
Hi,
Is it possible to perform an luupgrade on the active boot environment in Solaris?
I want to perform this on BEAlpha - the disk that has BEOmega will be unavailable whilst performing the upgrade but I still want to install the patches using luupgrade.
Boot Environment Is... (4 Replies)
Discussion started by: Mr_Webster
4 Replies
6. Solaris
Hi all,
I'm fairly new to Solaris and am just getting to grips with using LU (Live Upgrade) for OS patching purposes.
worcester#uname -a
SunOS worcester 5.10 Generic_144488-12 sun4v sparc SUNW,SPARC-Enterprise-T5220I have successfully created and patched a new BE (boot environment) using the... (5 Replies)
Discussion started by: polo_mint4
5 Replies
7. UNIX for Beginners Questions & Answers
My OS solarius 5.10 Generic_147148-2 i86
Error: please review new boots environments using options
1. Solution - show me the commands
Partition is full, try to remove some unneeded files,
then try to compress some other unneeded files.
man command creates a temp file under... (0 Replies)
Discussion started by: zbest1966
0 Replies
8. Solaris
TLDR: Patched a separate boot environment to 11.4. Activated and rebooted the system only to have it boot loop and show 11.3 on the patched boot environment.
Bootloop process: The system went down, came up showing 11.3 then spewed bunch of errors and resetted. SEE BELOW FOR THE FINAL MSG... (1 Reply)
Discussion started by: samthewildone
1 Replies
time(1) General Commands Manual time(1)
NAME
time - time a command
SYNOPSIS
command
utility [argument ...]
DESCRIPTION
When a specified command or utility completes execution, prints the elapsed time during the command or utility, the time spent in the sys-
tem, and the time spent executing the command or utility. Times are reported in seconds.
Execution time can depend on the performance of the memory in which the program is running.
The times are printed to standard error.
Note that the shell also has a keyword that times an entire pipeline if used anywhere in the pipeline. This action is different than the
command which times a particular command if used in a pipeline.
Options
recognizes the following options:
command The command to be executed and timed.
Writes the timing statistics to standard error.
utility The name of a utility to be invoked and timed. If the utility operand names any of the shell special built-in utilities,
the time results are undefined. See csh(1) and ksh(1) for information about special built-in utilities.
argument Any string that is an argument to the utility.
SEE ALSO
csh(1), ksh(1), sh(1), timex(1), times(2).
STANDARDS CONFORMANCE
time(1)