12-22-2011
Very confusing
Are you asking for help to fix something?
Nice to proactively share a script; however, many (most, and maybe all) probably will not understand its purpose. Without input and output, whatever 'magic' this script does is lost.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all!
I'm working on a KSH script to select files between a user inputed date range (stored in a variable) and then move them and unzip them. I'm stuck at how to get the files between the user inputed date range selected. Any help would be greatly appreciated!
The files are as such:
... (6 Replies)
Discussion started by: kelldan
6 Replies
2. Solaris
how can i identifying whose are logged in last few days,time and date also want. what i will do for get that information (2 Replies)
Discussion started by: sijocg
2 Replies
3. Shell Programming and Scripting
Hi there,
I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea?
Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies
4. Solaris
Hi
We are sharing our envoirnment with our component teams. the plateform is SunOS 5.8 Generic_117350-41 sun4u sparc SUNW,Sun-Fire-V490.
All team logs in the domain with same user and perform activities.
Now for the system auditing purpose can somebody guide me how can I get the details when... (6 Replies)
Discussion started by: sukhvinder_Tm
6 Replies
5. UNIX and Linux Applications
I am trying to add a user to my SVN server that can only access one of about a dozen repositories I have set up. Here are the files that I think need changed and what I have set them to. No matter what I try with these files I am unable to see the results I am after. In the end I want this new... (0 Replies)
Discussion started by: benn600
0 Replies
6. Solaris
Hi,
I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7.
bash-3.00# ./svn --version
svn, version 1.7.4 (r1295709)
compiled Mar 2 2012, 12:59:36
Here my requirement is how to integrate svn client to One of the SVN server repository.
My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies
7. Shell Programming and Scripting
Need a ksh script to get the files that were created or modified in a directory on a particular date entered by the user.
For example if a directory contains files as below :
> ll
total 41
-rw-rw-r-- 1 psn psn 199 Aug 23 07:06 psn_roll.sh
-rw-rw-r-- 1 psn psn ... (10 Replies)
Discussion started by: ramprabhum
10 Replies
8. Shell Programming and Scripting
HTML Code
archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (2 Replies)
Discussion started by: rehantayyab82
2 Replies
9. Shell Programming and Scripting
HTML Code:
archive_history() { HISTORYOLD=${HISTFILE}.archive CURTIME=`date` CURTTY=`tty` IP=$(echo $SSH_CLIENT | awk '{print $1}') if ; then echo "#-${HOSTNAME}-- ${CURBASHDATE} - ${CURTIME} ($CURTTY) ${USER} ${IP}----" >> $HISTORYOLD history... (0 Replies)
Discussion started by: rehantayyab82
0 Replies
10. Shell Programming and Scripting
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
cleanup(1M) cleanup(1M)
NAME
cleanup - HP-UX patch cleanup utility
SYNOPSIS
DESCRIPTION
The command provides functions useful when dealing with HP-UX patches on HP-UX.
The command logs all information to
Options
recognizes the following options:
Preview the task but do not actually perform the requested action.
Notify the user of
tasks and request confirmation before performing the requested action.
Commit patches superseded at least
number times. This option is a front-end to the option of (see swmodify(1M)) that provides an easier interface to commit
multiple patches at once.
Remove patches in the specified software depot that have been superseded by
patches also available from the depot.
Specifies whether the software depot contains patches for HP-UX 10.X or 11.X
releases. This option is only valid with the option. If the option is not specified, it defaults to HP-UX 11.X patches.
Specifies whether patches in the software depot that contain a corequisite or
prerequisite attribute specifying one of the superseded patches as a dependency should also be removed. This option is valid
only with the option. If the option is not specified, it defaults to true.
Remove HP-UX 10.X patches that remain in the Installed Product Database
after an upgrade to HP-UX 11.X. These patches are removed from the IPD so that they are no longer displayed in the output of
the command (see swlist(1M)). The HP-UX 10.X patch files are also removed from
Correct the
attribute for HP-UX 11.X patches.
Recommendations
The command should be executed after updating to HP-UX 11.X from HP-UX 10.20. It is not necessary to execute after updating from one ver-
sion of HP-UX 11.X software to another because SD-UX will properly remove 11.X patch information from the IPD in these situations.
The command should be executed whenever patches are added to a software depot. It is not a requirement that superseded 11.X patches be
removed from a software depot, but it is a recommendation to conserve disk space and to avoid confusion. If superseded patches exist in
the same depot as patches that supersede them, SD-UX on HP-UX 11.X will handle the situation properly.
The command can be executed to commit all patches that have been superseded at least the specified number of times. The only benefit from
committing patches is that disk space will be recovered in the
The command can be executed to insure that the attribute of all patch filesets is set correctly. There are several known situations where
the attribute will be set incorrectly. This command can be run at any time, but will be most useful after a system has been installed
using Ignite-UX.
AVAILABILITY
This command is standard on HP-UX 11i v3. On 11i v2 it is available in patch PHCO_32220 or a superseding patch. On 11i v1 it is available
in patch PHCO_27780 or a superseding patch.
WARNINGS
Extreme care should be used when committing patches. Once a patch has been committed, it cannot be removed from the system. Patches
should only be committed when you are satisfied with their behavior. Recovering disk space should not be the only factor considered when
committing patches.
AUTHOR
was developed by HP.
SEE ALSO
show_patches(1), sysdiff(1), check_patches(1M), swlist(1M), swmodify(1M), swremove(1M), sd(4).
cleanup(1M)